[Pkg-owncloud-commits] [owncloud] 363/394: mount users home before write/read file to it, necessary to deal with external homes
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:12:50 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.
commit 102d580eda1dd2c2b79bba3ebcbe986849b8026a
Author: Björn Schießle <schiessle at owncloud.com>
Date: Fri Feb 22 13:22:43 2013 +0100
mount users home before write/read file to it, necessary to deal with external homes
---
apps/files_versions/lib/versions.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php
index 08e5c4f..3c1fc64 100644
--- a/apps/files_versions/lib/versions.php
+++ b/apps/files_versions/lib/versions.php
@@ -46,6 +46,7 @@ class Storage {
} else {
$uid = \OCP\User::getUser();
}
+ \OC_Filesystem::mount('OC_Filestorage_Local', array('datadir' => \OC_User::getHome($uid)), $uid);
return array($uid, $filename);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list