]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Sitemap plugin no longer forces an index on user.created
authorEvan Prodromou <evan@status.net>
Sun, 18 Sep 2011 16:07:59 +0000 (12:07 -0400)
committerEvan Prodromou <evan@status.net>
Sun, 18 Sep 2011 16:07:59 +0000 (12:07 -0400)
plugins/Sitemap/SitemapPlugin.php

index 36041cfc9a025d7edcbb0368438bf1d03661081e..e7711fb339223dce698de27c1592b97e39c161e4 100644 (file)
@@ -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;
     }