summaryrefslogtreecommitdiffstats
path: root/lib/private/Lockdown
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-10-19 15:11:58 +0200
committerRobin Appelman <robin@icewind.nl>2016-11-16 15:24:28 +0100
commitc5df58ec69af0f8ee48543df66f61e3090bdfb17 (patch)
treeeb8638327afcc235fad5555963a59a2858770b5b /lib/private/Lockdown
parent7e9e5db4963b2ce8e34b6b70347d9cc2dff3f88a (diff)
downloadnextcloud-server-c5df58ec69af0f8ee48543df66f61e3090bdfb17.tar.gz
nextcloud-server-c5df58ec69af0f8ee48543df66f61e3090bdfb17.zip
phpdoc
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Lockdown')
-rw-r--r--lib/private/Lockdown/LockdownManager.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/private/Lockdown/LockdownManager.php b/lib/private/Lockdown/LockdownManager.php
index c34f7e01b65..5ce52a03683 100644
--- a/lib/private/Lockdown/LockdownManager.php
+++ b/lib/private/Lockdown/LockdownManager.php
@@ -43,16 +43,4 @@ class LockdownManager implements ILockdownManager {
}
return !$this->scope || $this->scope['filesystem'];
}
-
- public function canAccessApp($app) {
- if (!$this->enabled) {
- return true;
- }
- if ($this->scope && $this->scope['apps']) {
- return in_array($app, $this->scope['apps']);
- } else {
- // no limit
- return true;
- }
- }
}