Merge "Mark protected IndexPager properties also as protected in subclasses"
[lhc/web/wiklou.git] / includes / specials / pagers / NewPagesPager.php
index b85bc2f..0c95b7e 100644 (file)
@@ -132,7 +132,7 @@ class NewPagesPager extends ReverseChronologicalPager {
                return $this->mForm->formatRow( $row );
        }
 
-       function getStartBody() {
+       protected function getStartBody() {
                # Do a batch existence check on pages
                $linkBatch = new LinkBatch();
                foreach ( $this->mResult as $row ) {
@@ -145,7 +145,7 @@ class NewPagesPager extends ReverseChronologicalPager {
                return '<ul>';
        }
 
-       function getEndBody() {
+       protected function getEndBody() {
                return '</ul>';
        }
 }