Garbage collection script didn't loop through anything

This commit is contained in:
Mikael Nordfeldth 2014-05-06 16:18:47 +02:00
parent 8b12e41351
commit 074b2b621c

View File

@ -29,7 +29,7 @@ END_OF_HELP;
require_once INSTALLDIR.'/scripts/commandline.inc'; require_once INSTALLDIR.'/scripts/commandline.inc';
$feedsub = new FeedSub(); $feedsub = new FeedSub();
$feedsub->find();
while ($feedsub->fetch()) { while ($feedsub->fetch()) {
echo "{$feedsub->uri} ({$feedsub->sub_state})"; echo "{$feedsub->uri} ({$feedsub->sub_state})";
try { try {