Merge "Mark constructors of IndexPager subclasses as public"
[lhc/web/wiklou.git] / includes / specials / pagers / ImageListPager.php
index ab38e1a..3ddbe08 100644 (file)
@@ -50,7 +50,7 @@ class ImageListPager extends TablePager {
 
        protected $mTableName = 'image';
 
-       function __construct( IContextSource $context, $userName = null, $search = '',
+       public function __construct( IContextSource $context, $userName = null, $search = '',
                $including = false, $showAll = false
        ) {
                $this->setContext( $context );
@@ -422,7 +422,7 @@ class ImageListPager extends TablePager {
                }
        }
 
-       function doBatchLookups() {
+       protected function doBatchLookups() {
                $userIds = [];
                $this->mResult->seek( 0 );
                foreach ( $this->mResult as $row ) {