From 54dc16f3e558aa8289ffb592216a63c5fd60a366 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 24 Jun 2011 18:08:29 +0000 Subject: [PATCH] calling egw_vfs::rmdir/unlink to ensure vfs hooks get called --- phpgwapi/inc/class.egw_vfs.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.egw_vfs.inc.php b/phpgwapi/inc/class.egw_vfs.inc.php index 7b6c253510..c1ab746299 100644 --- a/phpgwapi/inc/class.egw_vfs.inc.php +++ b/phpgwapi/inc/class.egw_vfs.inc.php @@ -737,9 +737,9 @@ class egw_vfs extends vfs_stream_wrapper } if (is_dir($url) && !is_link($url)) { - return rmdir($url); + return egw_vfs::rmdir($url); } - return unlink($url); + return egw_vfs::unlink($url); } /**