Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/View.php')
-rw-r--r--lib/private/Files/View.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php
index da67fc461b5..20c0fd3ed1b 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -829,7 +829,7 @@ class View {
$this->renameUpdate($storage1, $storage2, $internalPath1, $internalPath2);
}
}
- } catch(\Exception $e) {
+ } catch (\Exception $e) {
throw $e;
} finally {
$this->changeLock($path1, ILockingProvider::LOCK_SHARED, true);
@@ -853,7 +853,7 @@ class View {
}
}
}
- } catch(\Exception $e) {
+ } catch (\Exception $e) {
throw $e;
} finally {
$this->unlockFile($path1, ILockingProvider::LOCK_SHARED, true);
@@ -895,7 +895,6 @@ class View {
$lockTypePath2 = ILockingProvider::LOCK_SHARED;
try {
-
$exists = $this->file_exists($path2);
if ($this->shouldEmitHooks()) {
\OC_Hook::emit(
@@ -946,7 +945,6 @@ class View {
);
$this->emit_file_hooks_post($exists, $path2);
}
-
}
} catch (\Exception $e) {
$this->unlockFile($path2, $lockTypePath2);
@@ -956,7 +954,6 @@ class View {
$this->unlockFile($path2, $lockTypePath2);
$this->unlockFile($path1, $lockTypePath1);
-
}
return $result;
}