mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 05:55:51 +01:00
(refs #32)Clone or pull plugin repository before displaying the available plugins page
This commit is contained in:
@@ -99,6 +99,8 @@ trait SystemSettingsControllerBase extends ControllerBase {
|
||||
})
|
||||
|
||||
get("/admin/plugins/available")(adminOnly {
|
||||
// TODO Do periodical and asynchronous...?
|
||||
PluginSystem.updateAllRepositories()
|
||||
admin.plugins.html.available(getAvailablePlugins())
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user