diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-06-16 03:48:29 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-06-16 03:48:29 +1000 |
| commit | c1197053267f66343674a37bb69b7c88321b2fc9 (patch) | |
| tree | 3606205e04e1779bbae2a5658c1a503f6ac859fc /inc | |
| parent | 12d6dc85e607e2200756d6d4b09ace36a1a8ef77 (diff) | |
file_unlink() should return result
Diffstat (limited to 'inc')
| -rwxr-xr-x[-rw-r--r--] | inc/functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index be3747d4..e8ee59cf 100644..100755 --- a/inc/functions.php +++ b/inc/functions.php @@ -317,7 +317,7 @@ $debug['unlink'][] = $path; } - @unlink($path); + $ret = @unlink($path); if(isset($config['purge']) && isset($_SERVER['HTTP_HOST'])) { // Purge cache if(basename($path) == $config['file_index']) { @@ -332,6 +332,7 @@ } purge($path); } + return $ret; } function listBoards() { |
