Changeset 358


Ignore:
Timestamp:
Aug 3, 2009 8:16:58 PM (15 years ago)
Author:
dan
Message:

Added a test to make doubly sure the file exists before deleting it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/App.inc.php

    r357 r358  
    571571            } else {
    572572                // Timeout has expired go ahead and send notifications again.
    573                 unlink($temp_file);
     573                if (file_exists($temp_file)) {
     574                    unlink($temp_file);
     575                }
    574576            }
    575577        } else {
Note: See TracChangeset for help on using the changeset viewer.