summaryrefslogtreecommitdiffstats
path: root/application/service
diff options
context:
space:
mode:
Diffstat (limited to 'application/service')
-rw-r--r--application/service/files.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/service/files.php b/application/service/files.php
index 0b0c16978..85efdfff8 100644
--- a/application/service/files.php
+++ b/application/service/files.php
@@ -178,6 +178,7 @@ class files {
));
$storage_id = $CI->db->insert_id();
$new_storage_id_created = true;
+ assert(!file_exists($CI->mfile->file($hash."-".$storage_id)));
}
$data_id = $hash."-".$storage_id;