File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,10 +105,10 @@ public function onAppDisabled($appId) {
105105 $ appInfo = \OC_App::getAppInfo ($ appId ); // hello static legacy
106106
107107 if (isset ($ appInfo ['settings ' ][IManager::KEY_ADMIN_SECTION ])) {
108- $ this ->remove (self ::TABLE_ADMIN_SECTIONS , $ appInfo ['settings ' ][IManager::KEY_ADMIN_SECTION ]);
108+ $ this ->remove (self ::TABLE_ADMIN_SECTIONS , trim ( $ appInfo ['settings ' ][IManager::KEY_ADMIN_SECTION ], '\\' ) );
109109 }
110110 if (isset ($ appInfo ['settings ' ][IManager::KEY_ADMIN_SETTINGS ])) {
111- $ this ->remove (self ::TABLE_ADMIN_SETTINGS , $ appInfo ['settings ' ][IManager::KEY_ADMIN_SETTINGS ]);
111+ $ this ->remove (self ::TABLE_ADMIN_SETTINGS , trim ( $ appInfo ['settings ' ][IManager::KEY_ADMIN_SETTINGS ], '\\' ) );
112112 }
113113 }
114114
@@ -302,7 +302,7 @@ private function setupAdminSettings($settingsClassName) {
302302
303303 if (!$ settings instanceof ISettings) {
304304 $ this ->log ->error (
305- 'Admin section instance must implement \OCP\ISection. Invalid class: {class} ' ,
305+ 'Admin section instance must implement \OCP\Settings\ ISection. Invalid class: {class} ' ,
306306 ['class ' => $ settingsClassName ]
307307 );
308308 return ;
You can’t perform that action at this time.
0 commit comments