Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed indentation issues
  • Loading branch information
phisch committed Aug 14, 2017
commit 9f7c1856416aec158391e38c7baf1faddaed6cfb
16 changes: 8 additions & 8 deletions apps/files_external/appinfo/Migrations/Version20170814051424.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@
*/
class Version20170814051424 implements ISimpleMigration {

/**
* @param IOutput $out
*/
public function run(IOutput $out) {
/**
* @param IOutput $out
*/
public function run(IOutput $out) {

/** @var GlobalStoragesService $globalStoragesService */
$globalStoragesService = \OC::$server->query('GlobalStoragesService');
$legacyStoragesService = new LegacyStoragesService(\OC::$server->getStoragesBackendService());
$globalStoragesService = \OC::$server->query('GlobalStoragesService');
$legacyStoragesService = new LegacyStoragesService(\OC::$server->getStoragesBackendService());

$legacyStorages = $legacyStoragesService->getAllStorages();
$legacyStorages = $legacyStoragesService->getAllStorages();

foreach ($legacyStorages as $legacyStorage) {
try {
Expand All @@ -59,5 +59,5 @@ public function run(IOutput $out) {
);
}
}
}
}
}