apps/theming/lib/ThemingDefaults.php
/**
	 * Revert settings to the default value
	 *
	 * @param string $setting setting which should be reverted
	 * @return string default value
	 */
Revert settings to the default value
@param string $setting setting which should be reverted
@return string default value
Revert settings to the default value @param string $setting setting which should be reverted @return string default value
public function undo($setting) {
		$this->config->deleteAppValue('theming', $setting);
		$this->increaseCacheBuster();
		switch ($setting) {
			case 'name':
				$returnValue = $this->getEntity();
				break;
			case 'url':
				$returnValue = $this->getBaseUrl();
				break;
			case 'slogan':
				$returnValue = $this->getSlogan();
				break;
			case 'color':
				$returnValue = $this->getColorPrimary();
				break;
			default:
				$returnValue = '';
				break;
		}
		return $returnValue;
	}
public function undo ( $ setting ) { $ this -> config -> deleteAppValue ( 'theming' , $ setting ) ; $ this -> increaseCacheBuster ( ) ; switch ( $ setting ) { case 'name' : $ returnValue = $ this -> getEntity ( ) ; break ; case 'url' : $ returnValue = $ this -> getBaseUrl ( ) ; break ; case 'slogan' : $ returnValue = $ this -> getSlogan ( ) ; break ; case 'color' : $ returnValue = $ this -> getColorPrimary ( ) ; break ; default : $ returnValue = '' ; break ; } return $ returnValue ; }
Revert settings to the default value
 @param string $setting setting which should be reverted
 @return string default value
Revert settings to the default value @param string $setting setting which should be reverted @return string default value