From: Alexander Ebert Date: Wed, 17 Oct 2012 13:14:02 +0000 (+0200) Subject: Removed ActiveStyle::getVariable(), forwarding to Style X-Git-Tag: 2.0.0_Beta_1~860 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=375d61a285d18d405acd17c0603a6260a806fd61;p=GitHub%2FWoltLab%2FWCF.git Removed ActiveStyle::getVariable(), forwarding to Style --- diff --git a/wcfsetup/install/files/lib/data/style/ActiveStyle.class.php b/wcfsetup/install/files/lib/data/style/ActiveStyle.class.php index 4396f0146f..01d4f5cba3 100644 --- a/wcfsetup/install/files/lib/data/style/ActiveStyle.class.php +++ b/wcfsetup/install/files/lib/data/style/ActiveStyle.class.php @@ -53,17 +53,6 @@ class ActiveStyle extends DatabaseObjectDecorator { $this->iconCache = CacheHandler::getInstance()->get($cacheName); } - /** - * Returns the value of a style variable. - * - * @param string $name - * @return string value - */ - public function getVariable($name) { - if (isset($this->object->data['variables'][$name])) return $this->object->data['variables'][$name]; - return ''; - } - /** * Returns the path of an icon. *