summaryrefslogtreecommitdiffstats
path: root/lib/user.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-07-10 00:06:22 +0200
committerRobin Appelman <icewind@owncloud.com>2013-07-10 00:06:22 +0200
commita735105a224e83f502e1d49366509e2afa2989b4 (patch)
tree8e5a0faf8e362a0b8788834935897faf4b33f4a3 /lib/user.php
parent244d376a16c1ec6e4fd190aa75adaad3a10af5e1 (diff)
downloadnextcloud-server-a735105a224e83f502e1d49366509e2afa2989b4.tar.gz
nextcloud-server-a735105a224e83f502e1d49366509e2afa2989b4.zip
update group management
Diffstat (limited to 'lib/user.php')
-rw-r--r--lib/user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/user.php b/lib/user.php
index 830f13bb8df..908f2cbabfb 100644
--- a/lib/user.php
+++ b/lib/user.php
@@ -39,7 +39,7 @@
class OC_User {
public static $userSession = null;
- private static function getUserSession() {
+ public static function getUserSession() {
if (!self::$userSession) {
$manager = new \OC\User\Manager();
self::$userSession = new \OC\User\Session($manager, \OC::$session);
@@ -83,7 +83,7 @@ class OC_User {
/**
* @return \OC\User\Manager
*/
- private static function getManager() {
+ public static function getManager() {
return self::getUserSession()->getManager();
}