summaryrefslogtreecommitdiffstats
path: root/lib/private/Settings
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-22 11:24:48 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-22 11:24:48 +0200
commit056c1ab03516b406b29912e9b7975e9ef6342526 (patch)
tree797f187d0ce097ac60c56363a342f9eeeb08b11e /lib/private/Settings
parentd1c9f744e1904a0761a4dfaa4a6137b54984585a (diff)
downloadnextcloud-server-056c1ab03516b406b29912e9b7975e9ef6342526.tar.gz
nextcloud-server-056c1ab03516b406b29912e9b7975e9ef6342526.zip
fix wrong var name
Diffstat (limited to 'lib/private/Settings')
-rw-r--r--lib/private/Settings/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php
index 8451e965955..df2f52f816d 100644
--- a/lib/private/Settings/Manager.php
+++ b/lib/private/Settings/Manager.php
@@ -107,7 +107,7 @@ class Manager implements IManager {
if(isset($appInfo['settings'][IManager::KEY_ADMIN_SECTION])) {
$this->remove(self::TABLE_ADMIN_SECTIONS, $appInfo['settings'][IManager::KEY_ADMIN_SECTION]);
}
- if(isset($settings['settings'][IManager::KEY_ADMIN_SETTINGS])) {
+ if(isset($appInfo['settings'][IManager::KEY_ADMIN_SETTINGS])) {
$this->remove(self::TABLE_ADMIN_SETTINGS, $appInfo['settings'][IManager::KEY_ADMIN_SETTINGS]);
}
}