summaryrefslogtreecommitdiff
path: root/lib/api/kolab_api_service_sharedfolder.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/kolab_api_service_sharedfolder.php')
-rw-r--r--lib/api/kolab_api_service_sharedfolder.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/api/kolab_api_service_sharedfolder.php b/lib/api/kolab_api_service_sharedfolder.php
index d14c4fc..1b02431 100644
--- a/lib/api/kolab_api_service_sharedfolder.php
+++ b/lib/api/kolab_api_service_sharedfolder.php
@@ -124,10 +124,8 @@ class kolab_api_service_sharedfolder extends kolab_api_service
//console("\$sharedfolder_attributes as result from parse_input_attributes", $sharedfolder_attributes);
- $sharedfolder = $postdata['id'];
-
$auth = Auth::get_instance();
- $result = $auth->sharedfolder_edit($sharedfolder, $sharedfolder_attributes, $postdata['type_id']);
+ $result = $auth->sharedfolder_edit($postdata['id'], $sharedfolder_attributes, $postdata['type_id']);
// Return the $mod_array
if ($result) {