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.
Showing
- core/command/maintenance/repair.php 10 additions, 5 deletionscore/command/maintenance/repair.php
- core/register_command.php 4 additions, 1 deletioncore/register_command.php
- lib/private/repair.php 44 additions, 23 deletionslib/private/repair.php
- lib/private/repairstep.php 44 additions, 0 deletionslib/private/repairstep.php
- lib/private/updater.php 43 additions, 40 deletionslib/private/updater.php
- tests/lib/repair.php 159 additions, 0 deletionstests/lib/repair.php
Loading
Please register or sign in to comment