]> source.dussan.org Git - nextcloud-server.git/commit
Added RepairStep interface and default repair step lists
authorVincent Petry <pvince81@owncloud.com>
Tue, 10 Jun 2014 09:47:27 +0000 (11:47 +0200)
committerVincent Petry <pvince81@owncloud.com>
Thu, 12 Jun 2014 15:38:26 +0000 (17:38 +0200)
commitca690c4d02d6c59e3fb9edb0f75ae640d744b612
tree110d83d8c96d0b781155b42a6d9eead576fab6e7
parent6fcd1af4db2d1bf8d61fa0c627c308e7257294b9
Added RepairStep interface and default repair step lists

The updater is using "before update" repair steps and "regular" repair
steps.
The "regular" repair steps are also used by the CLI tool.

Currently no steps exist but can be added later in the static methods in
the \OC\Repair class.

Added unit test to test messaging, error and exception cases.
core/command/maintenance/repair.php
core/register_command.php
lib/private/repair.php
lib/private/repairstep.php [new file with mode: 0644]
lib/private/updater.php
tests/lib/repair.php [new file with mode: 0644]