summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/upload.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-01-22 13:19:49 +0100
committerRobin Appelman <icewind@owncloud.com>2014-01-22 13:19:49 +0100
commit02aa44d055292e291a885491bd02b9d315058afb (patch)
treefc0278bffe74689d1d6c35c1ad3e36e29bf06420 /apps/files/ajax/upload.php
parentb578a3359eecb4113044a32fce3878eb94d10e20 (diff)
parent4474421ada2a4b5642f1a081d6491d7858b3b9b0 (diff)
downloadnextcloud-server-02aa44d055292e291a885491bd02b9d315058afb.tar.gz
nextcloud-server-02aa44d055292e291a885491bd02b9d315058afb.zip
Merge branch 'master' into memcache-public
Diffstat (limited to 'apps/files/ajax/upload.php')
-rw-r--r--apps/files/ajax/upload.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/ajax/upload.php b/apps/files/ajax/upload.php
index 0e905f993ac..bdaf6a77d14 100644
--- a/apps/files/ajax/upload.php
+++ b/apps/files/ajax/upload.php
@@ -34,6 +34,7 @@ if (empty($_POST['dirToken'])) {
// resolve reshares
$rootLinkItem = OCP\Share::resolveReShare($linkItem);
+ OCP\JSON::checkUserExists($rootLinkItem['uid_owner']);
// Setup FS with owner
OC_Util::tearDownFS();
OC_Util::setupFS($rootLinkItem['uid_owner']);