function homebox_flush_settings in Homebox 7.2
Same name and namespace in other branches
- 6.3 homebox.module \homebox_flush_settings()
- 6.2 homebox.module \homebox_flush_settings()
- 7.3 homebox.module \homebox_flush_settings()
Flush all user settings for a given page
Parameters
$page: A page object
Return value
TRUE if the operation was successful, otherwise FALSE
1 call to homebox_flush_settings()
File
- ./
homebox.module, line 1337 - Homebox main file, takes care of global functions settings constants, etc.
Code
function homebox_flush_settings($page) {
return (bool) db_delete('homebox_users')
->condition('name', $page->name)
->execute();
}