From d6ac929842b034f41f04e39ec88dc9b512fb01bf Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 27 Oct 2011 18:37:11 +0000 Subject: [PATCH] Added default updateSkippedMessage() message --- maintenance/Maintenance.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index 95854b069a..5e7f0d4dec 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -1276,6 +1276,15 @@ abstract class LoggedUpdateMaintenance extends Maintenance { } } + /** + * Message to show that the update was done already and was just skipped + * @return String + */ + protected function updateSkippedMessage() { + $key = $this->getUpdateKey(); + return "Update '{$key}' already logged as completed."; + } + /** * Message to show the the update log was unable to log the completion of this update * @return String @@ -1297,10 +1306,4 @@ abstract class LoggedUpdateMaintenance extends Maintenance { * @return String */ abstract protected function getUpdateKey(); - - /** - * Message to show that the update was done already and was just skipped - * @return String - */ - abstract protected function updateSkippedMessage(); } -- 2.20.1