|
|
|
@ -203,10 +203,6 @@ class File extends Node implements IFile {
|
|
|
|
throw new FileLocked($e->getMessage(), $e->getCode(), $e);
|
|
|
|
throw new FileLocked($e->getMessage(), $e->getCode(), $e);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ($view) {
|
|
|
|
|
|
|
|
$this->emitPostHooks($exists);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// allow sync clients to send the mtime along in a header
|
|
|
|
// allow sync clients to send the mtime along in a header
|
|
|
|
$request = \OC::$server->getRequest();
|
|
|
|
$request = \OC::$server->getRequest();
|
|
|
|
if (isset($request->server['HTTP_X_OC_MTIME'])) {
|
|
|
|
if (isset($request->server['HTTP_X_OC_MTIME'])) {
|
|
|
|
@ -215,6 +211,10 @@ class File extends Node implements IFile {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($view) {
|
|
|
|
|
|
|
|
$this->emitPostHooks($exists);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$this->refreshInfo();
|
|
|
|
$this->refreshInfo();
|
|
|
|
|
|
|
|
|
|
|
|
if (isset($request->server['HTTP_OC_CHECKSUM'])) {
|
|
|
|
if (isset($request->server['HTTP_OC_CHECKSUM'])) {
|
|
|
|
|