Permalink
Browse files

limiting the size of the (rss) results shown for current pending

revisions
  • Loading branch information...
AD7six
AD7six committed Apr 9, 2009
1 parent a3a4103 commit 9753afb04c9050f96d1a0a6e46be2a0d27a3bea4
Showing with 2 additions and 2 deletions.
  1. +2 −2 controllers/revisions_controller.php
@@ -663,10 +663,10 @@ function pending() {
} else {
$conditions['Revision.lang'] = $this->params['lang'];
}
-
$this->data = $this->Revision->find('all', array(
'conditions' => $conditions,
- 'order' => array('Revision.created DESC')
+ 'order' => array('Revision.created DESC'),
+ 'limit' => 30
));
$this->pageTitle = sprintf(__('Current Pending revisions ', true));
$this->render('index');

0 comments on commit 9753afb

Please sign in to comment.