Make isListed public in SpecialCollabPad.php

This was causing Special:SpecialPage to fatal with:

PHP Fatal Error: Access level to SpecialCollabPad::isListed() must be public
(as in class SpecialPage) or weaker

Bug: T183883
Change-Id: Ic7cbdddd3106776898ec7faa4fbaed508a6b1c08
This commit is contained in:
Paladox 2018-01-02 01:00:08 +00:00
parent 93b4371954
commit fc03706278

View file

@ -25,7 +25,7 @@ class SpecialCollabPad extends SpecialPage {
return !!$wgVisualEditorRebaserURL && parent::userCanExecute( $user );
}
protected function isListed() {
public function isListed() {
global $wgVisualEditorRebaserURL;
return !!$wgVisualEditorRebaserURL;
}