lib/private/Settings/Manager.php
/**
	 * attempts to remove an apps section and/or settings entry. A listener is
	 * added centrally making sure that this method is called ones an app was
	 * disabled.
	 *
	 * @param string $appId
	 * @since 9.1.0
	 */
attempts to remove an apps section and/or settings entry. A listener is
added centrally making sure that this method is called ones an app was
disabled.

@param string $appId
@since 9.1.0
attempts to remove an apps section and / or settings entry . A listener is added centrally making sure that this method is called ones an app was disabled . @param string $appId @since 9 . 1 . 0
public function onAppDisabled($appId) {
		$appInfo = \OC_App::getAppInfo($appId); 
		if (isset($appInfo['settings'][IManager::KEY_ADMIN_SECTION])) {
			$this->mapper->remove(self::TABLE_ADMIN_SECTIONS, trim($appInfo['settings'][IManager::KEY_ADMIN_SECTION], '\\'));
		}
		if (isset($appInfo['settings'][IManager::KEY_ADMIN_SETTINGS])) {
			$this->mapper->remove(self::TABLE_ADMIN_SETTINGS, trim($appInfo['settings'][IManager::KEY_ADMIN_SETTINGS], '\\'));
		}
	}
public function onAppDisabled ( $ appId ) { $ appInfo = \ OC_App :: getAppInfo ( $ appId ) ; if ( isset ( $ appInfo [ 'settings' ] [ IManager :: KEY_ADMIN_SECTION ] ) ) { $ this -> mapper -> remove ( self :: TABLE_ADMIN_SECTIONS , trim ( $ appInfo [ 'settings' ] [ IManager :: KEY_ADMIN_SECTION ] , '\\' ) ) ; } if ( isset ( $ appInfo [ 'settings' ] [ IManager :: KEY_ADMIN_SETTINGS ] ) ) { $ this -> mapper -> remove ( self :: TABLE_ADMIN_SETTINGS , trim ( $ appInfo [ 'settings' ] [ IManager :: KEY_ADMIN_SETTINGS ] , '\\' ) ) ; } }
attempts to remove an apps section and/or settings entry.
attempts to remove an apps section and / or settings entry .
// hello static legacy