Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinzenz Rosenkranz <vinzenz.rosenkranz@gmail.com>2016-09-07 17:42:21 +0300
committerGitHub <noreply@github.com>2016-09-07 17:42:21 +0300
commit76675c964e266fc4aa9d2c8b5b3f6b989801c386 (patch)
treec77e56a431adf75922f60c96b7da52cf8ba868de /controller
parentf5fadde9e27795a3d48a8101d24135bc50e445a2 (diff)
don't fetch groups and users on startup
Diffstat (limited to 'controller')
-rw-r--r--controller/pagecontroller.php4
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;*/
}
/**