summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-07-30 12:38:38 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-07-30 12:38:38 +0200
commit23391b3694120ee6a0aa443aab0a2eebd6400d11 (patch)
tree13fb6926686a61587664c2fdb444fdeeca8b86b2 /lib
parente5704bf8bfcec968e8b8ce5a85c83fea766a8dbf (diff)
downloadnextcloud-server-23391b3694120ee6a0aa443aab0a2eebd6400d11.tar.gz
nextcloud-server-23391b3694120ee6a0aa443aab0a2eebd6400d11.zip
get/set key files, take shared files into account
Diffstat (limited to 'lib')
-rw-r--r--lib/ocs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ocs.php b/lib/ocs.php
index 526688b4309..16812196501 100644
--- a/lib/ocs.php
+++ b/lib/ocs.php
@@ -192,8 +192,8 @@ class OC_OCS {
// keygetfiles
}elseif(($method=='get') and ($ex[$paracount-7] == 'v1.php') and ($ex[$paracount-6]=='cloud') and ($ex[$paracount-5] == 'user') and ($ex[$paracount-3] == 'filekey')){
- $user=$ex[$paracount-4];
- $file = urldecode($ex[$paracount-2]);
+ $user=$ex[$paracount-4];
+ $file = urldecode($ex[$paracount-2]);
OC_OCS::fileKeyGet($format,$user, $file);
//keysetfiles