diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-11-26 14:12:48 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-11-26 14:12:48 +0100 |
commit | 10d84f6e9b5a5b001458d12c6b0a489bec1ba00d (patch) | |
tree | 10273d9ff8b189bad866d586bb899ebbbf0407de /lib/private/repair.php | |
parent | eca9f69282a936200bd70b872ae48a4c2ddf0bc5 (diff) | |
download | nextcloud-server-10d84f6e9b5a5b001458d12c6b0a489bec1ba00d.tar.gz nextcloud-server-10d84f6e9b5a5b001458d12c6b0a489bec1ba00d.zip |
Add a (currently) empty system for running common repair steps
Diffstat (limited to 'lib/private/repair.php')
-rw-r--r-- | lib/private/repair.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/private/repair.php b/lib/private/repair.php new file mode 100644 index 00000000000..e9de3baa7ce --- /dev/null +++ b/lib/private/repair.php @@ -0,0 +1,21 @@ +<?php +/** + * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com> + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +namespace OC; + +use OC\Hooks\BasicEmitter; + +class Repair extends BasicEmitter { + /** + * run a series of repair steps for common problems + * progress can be reported by emitting \OC\Repair::step events + */ + public function run() { + $this->emit('\OC\Repair', 'step', array('No repair steps configured at the moment')); + } +} |