diff options
-rw-r--r-- | system/application/models/file_mod.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php index 3d7aa6eec..46efe6562 100644 --- a/system/application/models/file_mod.php +++ b/system/application/models/file_mod.php @@ -100,7 +100,7 @@ class File_mod extends Model { if($this->unused_file($filedata['hash'])) { unlink($this->file($filedata['hash'])); - // TODO: remove empty folders + @rmdir($this->folder($filedata['hash'])); } } |