Skip to content
Snippets Groups Projects
Commit 35bd6012 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Fix check for when to store a new version of a file

parent f750da18
No related branches found
No related tags found
No related merge requests found
......@@ -101,8 +101,8 @@ class Storage {
}
// check mininterval if this isn't a shared file (all shared files should be versioned despite mininterval)
if (!isset($source)) {
// check mininterval if the file is being modified by the owner (all shared files should be versioned despite mininterval)
if ($uid == \OCP\User::getUser()) {
$matches=glob($versionsfoldername.$filename.'.v*');
sort($matches);
$parts=explode('.v',end($matches));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment