repair.php 520 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com>
  4. * This file is licensed under the Affero General Public License version 3 or
  5. * later.
  6. * See the COPYING-README file.
  7. */
  8. namespace OC;
  9. use OC\Hooks\BasicEmitter;
  10. class Repair extends BasicEmitter {
  11. /**
  12. * run a series of repair steps for common problems
  13. * progress can be reported by emitting \OC\Repair::step events
  14. */
  15. public function run() {
  16. $this->emit('\OC\Repair', 'step', array('No repair steps configured at the moment'));
  17. }
  18. }