Sitemap plugin no longer forces an index on user.created

This commit is contained in:
Evan Prodromou 2011-09-18 12:07:59 -04:00
parent 0b7abf1595
commit 7c1d73ed3d

View 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;
}