]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
load Sitemap_notice_count
authorEvan Prodromou <evan@status.net>
Mon, 31 May 2010 14:48:14 +0000 (07:48 -0700)
committerEvan Prodromou <evan@status.net>
Tue, 1 Jun 2010 20:52:28 +0000 (13:52 -0700)
plugins/Sitemap/SitemapPlugin.php

index 82c007d66f6ff958303e1281018055aa77c2b1af..7ef5f1aa9bfc088634f978dde77c3a65cd1a7c0c 100644 (file)
@@ -65,6 +65,7 @@ class SitemapPlugin extends Plugin
         switch ($cls)
         {
         case 'Sitemap_user_count':
+        case 'Sitemap_notice_count':
             require_once $dir . '/' . $cls . '.php';
             return false;
         case 'SitemapindexAction':
@@ -141,8 +142,6 @@ class SitemapPlugin extends Plugin
     {
         $schema = Schema::get();
 
-        // For storing user-submitted flags on profiles
-
         $schema->ensureTable('sitemap_user_count',
                              array(new ColumnDef('registration_date', 'date', null,
                                                  true, 'PRI'),