diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-04-18 09:25:50 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-04-18 09:26:06 +0200 |
commit | f82946c6a9dfc394aa725f24dfc236a5fc2db605 (patch) | |
tree | cd1b6dfb0db9c01965bf17537859506bf35f67b0 | |
parent | 8c5831d95809543641497b05808254eaba5c792b (diff) | |
download | nextcloud-server-f82946c6a9dfc394aa725f24dfc236a5fc2db605.tar.gz nextcloud-server-f82946c6a9dfc394aa725f24dfc236a5fc2db605.zip |
pass the user to setupFS
-rw-r--r-- | plugins/publiclink/lib_public.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/publiclink/lib_public.php b/plugins/publiclink/lib_public.php index 494f84fdb7a..7c25c938fda 100644 --- a/plugins/publiclink/lib_public.php +++ b/plugins/publiclink/lib_public.php @@ -38,11 +38,8 @@ class OC_PublicLink{ $path=$data[0]['path']; $user=$data[0]['user']; - //login - $_SESSION['user_id']=$user; - //prepare the filesystem - OC_UTIL::setupFS(); + OC_UTIL::setupFS($user); //get time mimetype and set the headers $mimetype=OC_FILESYSTEM::getMimeType($path); |