aboutsummaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/plugins/index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/plugins/index.php b/admin/plugins/index.php
index 717e9bde0..10ab3f51b 100644
--- a/admin/plugins/index.php
+++ b/admin/plugins/index.php
@@ -19,7 +19,10 @@
admin_gatekeeper();
// Set admin user for user block
- set_page_owner($_SESSION['guid']);
+ set_page_owner($_SESSION['guid']);
+
+ // Regenerate plugin list
+ regenerate_plugin_list();
// Display main admin menu
page_draw(elgg_echo("admin:plugins"),elgg_view_layout("two_column_left_sidebar", '', elgg_view_title(elgg_echo('admin:plugins')) . elgg_view("admin/plugins", array('installed_plugins' => get_installed_plugins()))));