]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix typo in variable name
authorBjörn Schießle <schiessle@owncloud.com>
Sun, 2 Dec 2012 11:50:07 +0000 (12:50 +0100)
committerBjörn Schießle <schiessle@owncloud.com>
Sun, 2 Dec 2012 11:50:07 +0000 (12:50 +0100)
apps/files_versions/lib/versions.php

index 78f4181ebdea00a68c6ff692fcf08386b0dba88e..0ccaaf1095dd1079f8c991e089f94d14638bc601 100644 (file)
@@ -94,7 +94,7 @@ class Storage {
 
                        // check mininterval if the file is being modified by the owner (all shared files should be versioned despite mininterval)
                        if ($uid == \OCP\User::getUser()) {
-                               $versions_fileview = new \OC_FilesystemView('/'.uid.'/files_versions');
+                               $versions_fileview = new \OC_FilesystemView('/'.$uid.'/files_versions');
                                $versionsName=\OCP\Config::getSystemValue('datadirectory').$versions_fileview->getAbsolutePath($filename);
                                $versionsFolderName=\OCP\Config::getSystemValue('datadirectory').$versions_fileview->getAbsolutePath('');
                                $matches=glob($versionsName.'.v*');