function homebox_flush_settings in Homebox 7.3
Same name and namespace in other branches
- 6.3 homebox.module \homebox_flush_settings()
- 6.2 homebox.module \homebox_flush_settings()
- 7.2 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 1346 - 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();
}