diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index ca95f7e2b5..ef1be484d8 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -461,7 +461,7 @@ function phpgwapi_upgrade1_5_011() rmdir($old_path); } } - else + elseif(!($stat["mode"] & sqlfs_stream_wrapper::MODE_DIR)) { echo "phpgwapi_upgrade1_5_011() $url: $old_path not found!\n"; }