"fixed not working delete of sqlfs table"

This commit is contained in:
Ralf Becker 2008-04-15 10:13:15 +00:00
parent 78d7f5c550
commit fd987f39d2

View File

@ -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=<pre>\n";
@ -250,4 +250,3 @@
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.5.006';
}