Lower CDN cache TTL when slave lag is high
[lhc/web/wiklou.git] / includes / exception / PermissionsError.php
index 987c894..bfba7b2 100644 (file)
@@ -28,7 +28,7 @@
 class PermissionsError extends ErrorPageError {
        public $permission, $errors;
 
-       function __construct( $permission, $errors = array() ) {
+       public function __construct( $permission, $errors = array() ) {
                global $wgLang;
 
                $this->permission = $permission;
@@ -49,7 +49,7 @@ class PermissionsError extends ErrorPageError {
                $this->errors = $errors;
        }
 
-       function report() {
+       public function report() {
                global $wgOut;
 
                $wgOut->showPermissionsErrorPage( $this->errors, $this->permission );