You've already forked onlyoffice-owncloud
mirror of
https://github.com/ONLYOFFICE/onlyoffice-owncloud.git
synced 2025-07-28 23:21:59 +03:00
save version author
This commit is contained in:
committed by
Sergey Linnik
parent
41ec95619f
commit
79c205beca
@ -547,6 +547,10 @@ class CallbackController extends Controller {
|
||||
FileVersions::saveHistory($file->getFileInfo(), $history, $changes, $prevVersion);
|
||||
}
|
||||
|
||||
if (!empty($user)) {
|
||||
FileVersions::saveAuthor($file->getFileInfo(), $user);
|
||||
}
|
||||
|
||||
$result = 0;
|
||||
} catch (\Exception $e) {
|
||||
$this->logger->logException($e, ["message" => "Track: $fileId status $status error", "app" => $this->appName]);
|
||||
|
Reference in New Issue
Block a user