From fd987f39d2a7262d98cac336129510c34d929574 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 15 Apr 2008 10:13:15 +0000 Subject: [PATCH] "fixed not working delete of sqlfs table" --- phpgwapi/setup/tables_update.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index 4c28442fbd..bb73b89657 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -98,7 +98,7 @@ $debug = $GLOBALS['DEBUG']; // delete the table in case this update runs multiple times - $GLOBALS['egw_setup']->db->delete('egw_vfs',false,__LINE__,__FILE__); + $GLOBALS['egw_setup']->db->query('DELETE FROM egw_vfs',__LINE__,__FILE__); $query = $GLOBALS['egw_setup']->db->select('egw_vfs','*',"vfs_mime_type != 'journal' AND vfs_mime_type != 'journal-deleted'",__LINE__,__FILE__,false,'ORDER BY length(vfs_directory) ASC','phpgwapi'); if ($debug) echo "rows=
\n";
@@ -250,4 +250,3 @@
 
 		return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.5.006';
 	}
-