mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
unpack prepacked plugins on plugins initialization (#9149)
* unpack prepackaged plugins on plugins initialization * leverage utils.FindDir
This commit is contained in:
committed by
Joram Wilander
parent
f8f80d80df
commit
8948b91d7a
@@ -66,7 +66,7 @@ func uploadPlugin(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
defer file.Close()
|
||||
|
||||
manifest, unpackErr := c.App.InstallPlugin(file)
|
||||
manifest, unpackErr := c.App.InstallPlugin(file, false)
|
||||
|
||||
if unpackErr != nil {
|
||||
c.Err = unpackErr
|
||||
|
||||
Reference in New Issue
Block a user