diff --git a/lib/filestorage/file_storage.php b/lib/filestorage/file_storage.php index de4d0c20de2..09d636a5717 100644 --- a/lib/filestorage/file_storage.php +++ b/lib/filestorage/file_storage.php @@ -1635,7 +1635,7 @@ class file_storage { public function deleted_file_cleanup($contenthash) { global $DB; - if ($contenthash === 'da39a3ee5e6b4b0d3255bfef95601890afd80709') { + if ($contenthash === sha1('')) { // No need to delete empty content file with sha1('') content hash. return; }