diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-02-20 19:25:13 +0100 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-02-20 19:25:13 +0100 |
commit | 900a9e9e56d360fa7d347304e9b0d4b691d4becc (patch) | |
tree | 6eafd48210f8c92fcb8a61826f22627ab09ba931 /inc | |
parent | 8d443db51f9acca81484bec96d8bcd49c00e6414 (diff) | |
download | rpg-900a9e9e56d360fa7d347304e9b0d4b691d4becc.tar.gz rpg-900a9e9e56d360fa7d347304e9b0d4b691d4becc.tar.bz2 |
replace dir_delete by io_rmdir
Diffstat (limited to 'inc')
-rw-r--r-- | inc/media.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/media.php b/inc/media.php index fe155f0f3..a6109f785 100644 --- a/inc/media.php +++ b/inc/media.php @@ -284,7 +284,7 @@ function media_upload_xhr($ns,$auth){ 'copy' ); unlink($path); - if ($tmp) dir_delete($tmp); + if ($tmp) io_rmdir($tmp, true); if (is_array($res)) { msg($res[0], $res[1]); return false; |