summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-09-25 09:08:12 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-09-25 09:08:12 (GMT)
commitbaec5fa4bd55d97218c7c62746e439a39b314d9c (patch)
tree923bb2854848ea76853d38960b54d3b5ebdd248b
parentc7f258522e8536270c9747a67ff7ef0551af33d9 (diff)
downloadkolab-chwala-baec5fa4bd55d97218c7c62746e439a39b314d9c.tar.gz
Bring back 'folder_rename' alias for 'folder_move' method for backward compat.
-rw-r--r--lib/file_api.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/file_api.php b/lib/file_api.php
index a821ae6..c9631c6 100644
--- a/lib/file_api.php
+++ b/lib/file_api.php
@@ -474,6 +474,7 @@ class file_api
}
return $this->api->folder_delete($args['folder']);
+ case 'folder_rename':
case 'folder_move':
if (!isset($args['folder']) || $args['folder'] === '') {
throw new Exception("Missing source folder name", file_api::ERROR_CODE);