summaryrefslogtreecommitdiff
path: root/inc/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/functions.php')
-rwxr-xr-x[-rw-r--r--]inc/functions.php3
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() {