RollbackAction: Don't return true, causes '1' to be output
authorKunal Mehta <legoktm@member.fsf.org>
Fri, 27 May 2016 23:12:46 +0000 (16:12 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Fri, 27 May 2016 23:12:58 +0000 (16:12 -0700)
Bug: T136375
Change-Id: Id994b7ee7044ce18cf245a219ba290970511ea0f

includes/actions/RollbackAction.php

index 65159f2..3e760fd 100644 (file)
@@ -97,7 +97,7 @@ class RollbackAction extends FormlessAction {
                                }
                        }
 
-                       return true;
+                       return;
                }
 
                # NOTE: Permission errors already handled by Action::checkExecute.
@@ -142,7 +142,7 @@ class RollbackAction extends FormlessAction {
                        );
                        $de->showDiff( '', '' );
                }
-               return true;
+               return;
        }
 
        protected function getDescription() {