summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/helpers/user_theme.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/user/helpers/user_theme.php b/modules/user/helpers/user_theme.php
index 2a4a343a..ad9d4c63 100644
--- a/modules/user/helpers/user_theme.php
+++ b/modules/user/helpers/user_theme.php
@@ -25,11 +25,8 @@ class user_theme_Core {
}
static function admin_head($theme) {
- $head = array();
if (strpos(Router::$current_uri, "admin/users") !== false) {
- $head[] = html::script("lib/gallery.panel.js");
+ $theme->script("lib/gallery.panel.js");
}
-
- return implode("\n", $head);
}
}