From 9fe5314ed6c57dde1cbaef1c372ff3be72d73935 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 19 Apr 2008 09:15:46 +0000 Subject: [PATCH] fixed not working removal of home dirs, if acocunt/group get deleted --- phpgwapi/inc/class.egw_vfs.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpgwapi/inc/class.egw_vfs.inc.php b/phpgwapi/inc/class.egw_vfs.inc.php index b4e7a9a134..41ca6e26a6 100644 --- a/phpgwapi/inc/class.egw_vfs.inc.php +++ b/phpgwapi/inc/class.egw_vfs.inc.php @@ -534,6 +534,10 @@ class egw_vfs extends vfs_stream_wrapper */ static function _rm_rmdir($url) { + if ($url[0] == '/') + { + $url = self::PREFIX . $url; + } if (is_dir($url)) { return rmdir($url);