X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2Fpagers%2FNewFilesPager.php;h=8bac2c4493c51a444fd1348d3e1df98745e9f71b;hb=5a68f2902d4e21bc76482c33344f473912768fec;hp=6b7e4b8b315373670375ea7ef3f3385ff3b19ef2;hpb=b52123f4ab42b930439949cf275c4f989df7ec68;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/pagers/NewFilesPager.php b/includes/specials/pagers/NewFilesPager.php index 6b7e4b8b31..8bac2c4493 100644 --- a/includes/specials/pagers/NewFilesPager.php +++ b/includes/specials/pagers/NewFilesPager.php @@ -40,7 +40,7 @@ class NewFilesPager extends RangeChronologicalPager { * @param IContextSource $context * @param FormOptions $opts */ - function __construct( IContextSource $context, FormOptions $opts ) { + public function __construct( IContextSource $context, FormOptions $opts ) { parent::__construct( $context ); $this->opts = $opts; @@ -168,7 +168,7 @@ class NewFilesPager extends RangeChronologicalPager { return 'img_timestamp'; } - function getStartBody() { + protected function getStartBody() { if ( !$this->gallery ) { // Note that null for mode is taken to mean use default. $mode = $this->getRequest()->getVal( 'gallerymode', null ); @@ -183,7 +183,7 @@ class NewFilesPager extends RangeChronologicalPager { return ''; } - function getEndBody() { + protected function getEndBody() { return $this->gallery->toHTML(); }