diff options
author | Chad Kieffer <ckieffer@gmail.com> | 2009-06-28 17:57:23 -0600 |
---|---|---|
committer | Chad Kieffer <ckieffer@gmail.com> | 2009-06-28 17:57:23 -0600 |
commit | bf79d4372cbaac63f4fee55dbba58bc19f52bc14 (patch) | |
tree | d648c5d7d455da63b36f795f010cc94d55fe3ee5 /modules/user/helpers | |
parent | 2b804ebdcea2127ca481ae3fb25a33a3bc5a78c3 (diff) | |
parent | ce6d453b3f32af98e13b62fe10b62173c59bde44 (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/user/helpers')
-rw-r--r-- | modules/user/helpers/user_theme.php | 5 |
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); } } |