Added default updateSkippedMessage() message
This commit is contained in:
parent
fa61bb9b2d
commit
d6ac929842
1 changed files with 9 additions and 6 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue