Per Platonides, fix for r101630: correct class name
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 4 Nov 2011 06:59:36 +0000 (06:59 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 4 Nov 2011 06:59:36 +0000 (06:59 +0000)
includes/actions/MarkpatrolledAction.php

index e52d0c4..c1f6fdc 100644 (file)
@@ -74,7 +74,7 @@ class MarkpatrolledAction extends FormlessAction {
                }
 
                if ( count( $errors ) ) {
-                       throw new PermissionsErrorPage( 'patrol', $errors );
+                       throw new PermissionsError( 'patrol', $errors );
                }
 
                # Inform the user