summaryrefslogtreecommitdiff
path: root/lib/drivers/seafile/seafile_file_storage.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-10-15 00:07:24 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-10-15 00:07:24 (GMT)
commita1d77686541e39632d1116e8a56ffce1c070c12f (patch)
tree7fe4dbcad9e6881625801d3347bc48bede7cbce1 /lib/drivers/seafile/seafile_file_storage.php
parent3d5f6200a9cae9e86020854b8d71ec8e47d9acaf (diff)
downloadkolab-chwala-a1d77686541e39632d1116e8a56ffce1c070c12f.tar.gz
Extend folder_move action with support for move between storage sources (#3777)
Diffstat (limited to 'lib/drivers/seafile/seafile_file_storage.php')
-rw-r--r--lib/drivers/seafile/seafile_file_storage.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/drivers/seafile/seafile_file_storage.php b/lib/drivers/seafile/seafile_file_storage.php
index 1531bcc..6463ea1 100644
--- a/lib/drivers/seafile/seafile_file_storage.php
+++ b/lib/drivers/seafile/seafile_file_storage.php
@@ -730,6 +730,11 @@ class seafile_file_storage implements file_storage
if (!$success) {
throw new Exception("Storage error. Unable to create folder", file_storage::ERROR);
}
+
+ // clear the cache
+ if (empty($repo_id)) {
+ $this->libraries = null;
+ }
}
/**