diff options
Diffstat (limited to 'modules/gallery/helpers/gallery.php')
| -rw-r--r-- | modules/gallery/helpers/gallery.php | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/modules/gallery/helpers/gallery.php b/modules/gallery/helpers/gallery.php index 50e2c43b..e1fa2a7c 100644 --- a/modules/gallery/helpers/gallery.php +++ b/modules/gallery/helpers/gallery.php @@ -27,7 +27,7 @@ class gallery_Core {    static function maintenance_mode() {      $maintenance_mode = Kohana::config("core.maintenance_mode", false, false); -    if (Router::$controller != "login" && !empty($maintenance_mode) && !user::active()->admin) { +    if (Router::$controller != "login" && !empty($maintenance_mode) && !Identity::active()->admin) {        Router::$controller = "maintenance";        Router::$controller_path = MODPATH . "gallery/controllers/maintenance.php";        Router::$method = "index"; | 
