From: daniel Date: Fri, 5 Jul 2019 13:20:02 +0000 (+0200) Subject: Tell users how they can force a maintenance script to run again. X-Git-Tag: 1.34.0-rc.0~1145^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=275d6e2ad4ef8be0b8958351b3d65c7ee1339471;p=lhc%2Fweb%2Fwiklou.git Tell users how they can force a maintenance script to run again. Subclasses of LoggedUpdateMaintenance tell the user that "Update '{$key}' already logged as completed". This adds "Use --force to run it again." Bug: T200653 Change-Id: I8cf3c5383c0fecdc92b58048138332855b5602a6 --- diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index 6beda4e3e3..0263425508 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -1737,7 +1737,7 @@ abstract class LoggedUpdateMaintenance extends Maintenance { protected function updateSkippedMessage() { $key = $this->getUpdateKey(); - return "Update '{$key}' already logged as completed."; + return "Update '{$key}' already logged as completed. Use --force to run it again."; } /**