Merge "resourceloader: Misc optimisations in startup module"
[lhc/web/wiklou.git] / includes / logging / LogPager.php
index e7096c4..32afa37 100644 (file)
@@ -70,7 +70,7 @@ class LogPager extends ReverseChronologicalPager {
         */
        public function __construct( $list, $types = [], $performer = '', $title = '',
                $pattern = false, $conds = [], $year = false, $month = false, $day = false,
-               $tagFilter = '', $action = '', $logId = false
+               $tagFilter = '', $action = '', $logId = 0
        ) {
                parent::__construct( $list->getContext() );
                $this->mConds = $conds;
@@ -365,7 +365,7 @@ class LogPager extends ReverseChronologicalPager {
                return 'log_timestamp';
        }
 
-       public function getStartBody() {
+       protected function getStartBody() {
                # Do a link batch query
                if ( $this->getNumRows() > 0 ) {
                        $lb = new LinkBatch;