summaryrefslogtreecommitdiff
path: root/lib/drivers/seafile/seafile_file_storage.php
diff options
context:
space:
mode:
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;
+ }
}
/**