Index: station_archive.module =================================================================== RCS file: /cvs/drupal/contributions/modules/station/archive/station_archive.module,v retrieving revision 1.7.2.8 diff -u -F^f -r1.7.2.8 station_archive.module --- station_archive.module 24 Sep 2006 21:28:23 -0000 1.7.2.8 +++ station_archive.module 26 Sep 2006 00:45:28 -0000 @@ -355,7 +355,7 @@ function _station_archive_add_file($file // if they've elected to delete unscheduled programs, do so. else if (variable_get('station_archive_delete_unscheduled', 0)) { watchdog('stationarchive', t('Deleted audio file recorded during unscheduled time. Filename %filename', array('%filename' => theme('placeholder', $file->filename))), WATCHDOG_NOTICE); - file_delete($file); + file_delete($file->filename); return TRUE; } // if we can't get the metadata, improvise!