diff options
author | Björn Schießle <schiessle@owncloud.com> | 2012-10-22 14:52:59 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2012-10-22 14:52:59 +0200 |
commit | 366aeb72287a0884258d50db4dd885291aaae0fa (patch) | |
tree | 9fad4aeffa86181ed9cbe8eaad1c9eeaa4a7542c /lib/util.php | |
parent | 296884b24ad75ec018f5198c27a2379f3ee8440b (diff) | |
download | nextcloud-server-366aeb72287a0884258d50db4dd885291aaae0fa.tar.gz nextcloud-server-366aeb72287a0884258d50db4dd885291aaae0fa.zip |
add parameter to specify user for which OC_Filesystem should be initialized.
(needed to share files via public links where no user is logged in)
Diffstat (limited to 'lib/util.php')
-rwxr-xr-x | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index ecb790f2887..b068cbb5d9e 100755 --- a/lib/util.php +++ b/lib/util.php @@ -47,7 +47,7 @@ class OC_Util { } //jail the user into his "home" directory OC_Filesystem::mount('OC_Filestorage_Local', array('datadir' => $user_root), $user); - OC_Filesystem::init($user_dir); + OC_Filesystem::init($user_dir, $user); $quotaProxy=new OC_FileProxy_Quota(); $fileOperationProxy = new OC_FileProxy_FileOperations(); OC_FileProxy::register($quotaProxy); |