aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-08-07 14:38:02 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-08-07 14:38:02 -0400
commitb6bbbb4c47c146848e3452f6be1d2086bf2239eb (patch)
treeb752d5fbeba5f1ff090746a823f3f8a450bf7842 /lib
parent0ddfc94cf54fbcdd6f9b172bd5abee495af60577 (diff)
downloadnextcloud-server-b6bbbb4c47c146848e3452f6be1d2086bf2239eb.tar.gz
nextcloud-server-b6bbbb4c47c146848e3452f6be1d2086bf2239eb.zip
Remove undefined return variable
Diffstat (limited to 'lib')
-rw-r--r--lib/public/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/share.php b/lib/public/share.php
index 68ac0217800..4838f9a4d30 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -217,7 +217,7 @@ class Share {
self::put('file', $name, $shareType, $shareWith, $uidOwner, $permissions, $parentFolder);
}
}
- return $return;
+ return true;
}
return false;
} else {