diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-09 00:02:29 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-09 00:02:29 +0000 |
commit | f841d1a764c4aa6aa6d2a58daa401be615f4e873 (patch) | |
tree | eac1b6d3c4325d926f06e036a337746d03edb9fc /modules/system/system.module | |
parent | 72e09d7beb7788a3a1f473c0d7a7a4802a5dc75a (diff) | |
download | brdo-f841d1a764c4aa6aa6d2a58daa401be615f4e873.tar.gz brdo-f841d1a764c4aa6aa6d2a58daa401be615f4e873.tar.bz2 |
#142995 by dopry, drewish, quicksketch, jpetso, and flobruit: Adding hook_file_X(). This is an enabler of lots and lots of goodies. See CHANGELOG.txt for more. Awesome work, guys. :)
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index e4d9abea0..8f533b20f 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1405,7 +1405,7 @@ function system_cron() { if (file_exists($file->filepath)) { // If files that exist cannot be deleted, continue so the database remains // consistent. - if (!file_delete($file->filepath)) { + if (!file_delete($file)) { watchdog('file system', 'Could not delete temporary file "%path" during garbage collection', array('%path' => $file->filepath), WATCHDOG_ERROR); continue; } |