X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Factions%2FRollbackAction.php;h=040485637d18b70415753c94deccc117de2f152e;hb=6627978c77c4fea850507cb6cd6e1b8ee36ce748;hp=70d7d1616399535861a42ba72471aee34553d455;hpb=b2c0705b819f5da7a7c07919a76b05fc31b01c34;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/RollbackAction.php b/includes/actions/RollbackAction.php index 70d7d16163..040485637d 100644 --- a/includes/actions/RollbackAction.php +++ b/includes/actions/RollbackAction.php @@ -78,13 +78,13 @@ class RollbackAction extends FormlessAction { return; } - #NOTE: Permission errors already handled by Action::checkExecute. + # NOTE: Permission errors already handled by Action::checkExecute. if ( $result == array( array( 'readonlytext' ) ) ) { throw new ReadOnlyError; } - #XXX: Would be nice if ErrorPageError could take multiple errors, and/or a status object. + # XXX: Would be nice if ErrorPageError could take multiple errors, and/or a status object. # Right now, we only show the first error foreach ( $result as $error ) { throw new ErrorPageError( 'rollbackfailed', $error[0], array_slice( $error, 1 ) );