summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-05-31 07:48:14 -0700
committerEvan Prodromou <evan@status.net>2010-06-01 13:52:28 -0700
commit271d7dd8509537aee7e10fd6c8f493e62e6c75b2 (patch)
treefb6d59086d47fc9d1d9694621f33d4a5d415970e
parent416161c94366292a623aecf8fe79b0d73c337e98 (diff)
load Sitemap_notice_count
-rw-r--r--plugins/Sitemap/SitemapPlugin.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Sitemap/SitemapPlugin.php b/plugins/Sitemap/SitemapPlugin.php
index 82c007d66..7ef5f1aa9 100644
--- a/plugins/Sitemap/SitemapPlugin.php
+++ b/plugins/Sitemap/SitemapPlugin.php
@@ -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'),