From: Evan Prodromou Date: Sun, 18 Sep 2011 16:07:59 +0000 (-0400) Subject: Sitemap plugin no longer forces an index on user.created X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;ds=sidebyside;h=7c1d73ed3da8b594bd5cede99f41d3c7bb2734a7;p=quix0rs-gnu-social.git Sitemap plugin no longer forces an index on user.created --- diff --git a/plugins/Sitemap/SitemapPlugin.php b/plugins/Sitemap/SitemapPlugin.php index 36041cfc9a..e7711fb339 100644 --- a/plugins/Sitemap/SitemapPlugin.php +++ b/plugins/Sitemap/SitemapPlugin.php @@ -196,12 +196,6 @@ class SitemapPlugin extends Plugin null, false), new ColumnDef('modified', 'timestamp'))); - $userCreated = $schema->getColumnDef('user', 'created'); - - if (empty($userCreated) || $userCreated->key != 'MUL') { - $schema->createIndex('user', 'created'); - } - return true; }