From 375d61a285d18d405acd17c0603a6260a806fd61 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 17 Oct 2012 15:14:02 +0200 Subject: [PATCH] Removed ActiveStyle::getVariable(), forwarding to Style --- .../files/lib/data/style/ActiveStyle.class.php | 11 ----------- 1 file changed, 11 deletions(-) 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. * -- 2.20.1