Major overhaul of caching system (work in progress)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / cache / builder / SitemapCacheBuilder.class.php
index 53fb8b7f6fdf5be56b511cab7770f6780382ce8e..505b8d37d464073752d3639a005f6e2562d01e41 100644 (file)
@@ -6,17 +6,17 @@ use wcf\data\sitemap\SitemapList;
  * Caches sitemap structure.
  * 
  * @author     Alexander Ebert
- * @copyright  2001-2012 WoltLab GmbH
+ * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
  * @package    com.woltlab.wcf
  * @subpackage system.cache.builder
  * @category   Community Framework
  */
-class SitemapCacheBuilder implements ICacheBuilder {
+class SitemapCacheBuilder extends AbstractCacheBuilder {
        /**
-        * @see wcf\system\cache\ICacheBuilder::getData()
+        * @see wcf\system\cache\builder\AbstractCacheBuilder::rebuild()
         */
-       public function getData(array $cacheResource) {
+       public function rebuild(array $parameters) {
                $sitemapList = new SitemapList();
                $sitemapList->sqlOrderBy = "sitemap.showOrder ASC";
                $sitemapList->readObjects();