remove unneeded find() in userrss.php

darcs-hash:20080928175156-5ed1f-f33007b9dd9ee73632e48fc4bf45f29fb63ae494.gz
This commit is contained in:
Evan Prodromou 2008-09-28 13:51:56 -04:00
parent 6c9fdb314c
commit dc5f47ab4a

View File

@ -49,8 +49,6 @@ class UserrssAction extends Rss10Action {
$notice = $user->getNotices(0, ($limit == 0) ? NOTICES_PER_PAGE : $limit); $notice = $user->getNotices(0, ($limit == 0) ? NOTICES_PER_PAGE : $limit);
$notice->find();
while ($notice->fetch()) { while ($notice->fetch()) {
$notices[] = clone($notice); $notices[] = clone($notice);
} }