summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index fd31cfd9f29..0650361be91 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -570,7 +570,7 @@ class OC {
}
// NOTE: This will be replaced to use OCP
$userSession = \OC_User::getUserSession();
- $userSession->listen('postLogin', array('OC\Cache\File', 'loginListener'));
+ $userSession->listen('postLogin', '\OC\Cache\File', 'loginListener');
}
}