Added default updateSkippedMessage() message

This commit is contained in:
Aaron Schulz 2011-10-27 18:37:11 +00:00
parent fa61bb9b2d
commit d6ac929842

View file

@ -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();
}