function filebrowser_update_7100 in Filebrowser 7.4
Removes ghost file ids from node_dir_listing_content table
File
- ./
filebrowser.install, line 405 - filbrowser installation file.
Code
function filebrowser_update_7100() {
db_query("CREATE TABLE {node_dir_listing_content_bak} SELECT * FROM {node_dir_listing_content}");
db_query("DELETE FROM {node_dir_listing_content} WHERE root = :root", array(
':root' => '',
));
return t('table node_dir_listing_content updated');
}