Use new emitter system

remotes/origin/stable6
Thomas Tanghus 12 years ago
parent 1a13062701
commit 534933ee9b
  1. 4
      lib/base.php

@ -568,7 +568,9 @@ class OC {
} catch (Exception $e) {
}
OC_Hook::connect('OC_User', 'post_login', 'OC\Cache\File', 'loginListener');
// NOTE: This will be replaced to use OCP
$userSession = \OC_User::getUserSession();
$userSession->listen('postLogin', array('OC\Cache\File', 'loginListener'))
}
}

Loading…
Cancel
Save