summaryrefslogtreecommitdiff
path: root/plugins/FeedSub/FeedSubPlugin.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-05 01:16:48 +0000
committerSarven Capadisli <csarven@status.net>2010-01-05 01:16:48 +0000
commit48289e607bf207b40201075be8b599c0f3fa597e (patch)
treed310e7091467460905287bc29b33098cf986a906 /plugins/FeedSub/FeedSubPlugin.php
parenteb9514120a882aacae38f8b85a1f431852b44b89 (diff)
parent440b9957f9ae6fdfdb44c39074803fcdbc64112d (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins/FeedSub/FeedSubPlugin.php')
-rw-r--r--plugins/FeedSub/FeedSubPlugin.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/FeedSub/FeedSubPlugin.php b/plugins/FeedSub/FeedSubPlugin.php
index 857a9794d..e49e2a648 100644
--- a/plugins/FeedSub/FeedSubPlugin.php
+++ b/plugins/FeedSub/FeedSubPlugin.php
@@ -105,12 +105,11 @@ class FeedSubPlugin extends Plugin
return true;
}
- /*
- // auto increment seems to be broken
function onCheckSchema() {
+ // warning: the autoincrement doesn't seem to set.
+ // alter table feedinfo change column id id int(11) not null auto_increment;
$schema = Schema::get();
- $schema->ensureDataObject('Feedinfo');
+ $schema->ensureTable('feedinfo', Feedinfo::schemaDef());
return true;
}
- */
}