remove unneeded find() in userrss.php
darcs-hash:20080928175156-5ed1f-f33007b9dd9ee73632e48fc4bf45f29fb63ae494.gz
This commit is contained in:
parent
6c9fdb314c
commit
dc5f47ab4a
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user