summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair/Preview.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Repair/Preview.php')
-rw-r--r--lib/private/Repair/Preview.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/private/Repair/Preview.php b/lib/private/Repair/Preview.php
index 481e98b42d1..7e26e45cb80 100644
--- a/lib/private/Repair/Preview.php
+++ b/lib/private/Repair/Preview.php
@@ -21,15 +21,16 @@
namespace OC\Repair;
use OC\Files\View;
-use OC\Hooks\BasicEmitter;
+use OCP\Migration\IOutput;
+use OCP\Migration\IRepairStep;
-class Preview extends BasicEmitter implements \OC\RepairStep {
+class Preview implements IRepairStep {
public function getName() {
return 'Cleaning-up broken previews';
}
- public function run() {
+ public function run(IOutput $out) {
$view = new View('/');
$children = $view->getDirectoryContent('/');
@@ -42,4 +43,4 @@ class Preview extends BasicEmitter implements \OC\RepairStep {
}
}
}
-} \ No newline at end of file
+}