"emptied egw_vfs instead of egw_sqlfs table"

This commit is contained in:
Ralf Becker 2008-04-15 14:12:01 +00:00
parent 6cc0093543
commit 9c117aa197

View File

@ -104,7 +104,7 @@
$debug = $GLOBALS['DEBUG'];
// delete the table in case this update runs multiple times
$GLOBALS['egw_setup']->db->query('DELETE FROM egw_vfs',__LINE__,__FILE__);
$GLOBALS['egw_setup']->db->query('DELETE FROM egw_sqlfs',__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";