From: Aaron Schulz Date: Thu, 27 Oct 2011 18:37:11 +0000 (+0000) Subject: Added default updateSkippedMessage() message X-Git-Tag: 1.31.0-rc.0~26875 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=d6ac929842b034f41f04e39ec88dc9b512fb01bf;p=lhc%2Fweb%2Fwiklou.git Added default updateSkippedMessage() message --- 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(); }