diff options
author | Vinzenz Rosenkranz <vinzenz.rosenkranz@gmail.com> | 2016-09-07 17:42:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-07 17:42:21 +0300 |
commit | 76675c964e266fc4aa9d2c8b5b3f6b989801c386 (patch) | |
tree | c77e56a431adf75922f60c96b7da52cf8ba868de /controller | |
parent | f5fadde9e27795a3d48a8101d24135bc50e445a2 (diff) |
don't fetch groups and users on startup
Diffstat (limited to 'controller')
-rw-r--r-- | controller/pagecontroller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controller/pagecontroller.php b/controller/pagecontroller.php index 53926ade..6a9998d6 100644 --- a/controller/pagecontroller.php +++ b/controller/pagecontroller.php @@ -99,7 +99,7 @@ class PageController extends Controller { $this->textMapper = $textMapper; $this->userMgr = \OC::$server->getUserManager(); - if(!$this->shareManager->sharingDisabledForUser($this->userId)) { + /*if(!$this->shareManager->sharingDisabledForUser($this->userId)) { if($this->shareManager->shareWithGroupMembersOnly()) { $groups = OCP\OC_Group::getUserGroups($this->userId); } else if($this->shareManager->allowGroupSharing()) { @@ -121,7 +121,7 @@ class PageController extends Controller { $users = $allUsers; } sort($users, SORT_NATURAL | SORT_FLAG_CASE ); - $this->allowedUsers = $users; + $this->allowedUsers = $users;*/ } /** |