|
|
|
@ -194,15 +194,15 @@ class File extends Node implements IFile { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// since we skipped the view we need to scan and emit the hooks ourselves |
|
|
|
|
$storage->getUpdater()->update($internalPath); |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
$this->changeLock(ILockingProvider::LOCK_SHARED); |
|
|
|
|
} catch (LockedException $e) { |
|
|
|
|
throw new FileLocked($e->getMessage(), $e->getCode(), $e); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// since we skipped the view we need to scan and emit the hooks ourselves |
|
|
|
|
$storage->getUpdater()->update($internalPath); |
|
|
|
|
|
|
|
|
|
if ($view) { |
|
|
|
|
$this->emitPostHooks($exists); |
|
|
|
|
} |
|
|
|
|