Removed ActiveStyle::getVariable(), forwarding to Style
authorAlexander Ebert <ebert@woltlab.com>
Wed, 17 Oct 2012 13:14:02 +0000 (15:14 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 17 Oct 2012 13:14:02 +0000 (15:14 +0200)
wcfsetup/install/files/lib/data/style/ActiveStyle.class.php

index 4396f0146f409271992073d08aefadb9086693c9..01d4f5cba3e8f4ca99c3ff81bcfabd898c2e5438 100644 (file)
@@ -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.
         *