function fb_uninstall in Drupal for Facebook 7.3
Same name and namespace in other branches
- 6.3 fb.install \fb_uninstall()
- 6.2 fb.install \fb_uninstall()
- 7.4 fb.install \fb_uninstall()
File
- ./
fb.install, line 133 - Install file to support fb.module.
Code
function fb_uninstall() {
foreach (array(
FB_VAR_LANGUAGE_OVERRIDE,
FB_VAR_JS_SDK,
FB_VAR_API_FILE,
FB_VAR_JS_CHANNEL,
FB_VAR_VERBOSE,
FB_VAR_APIKEY,
'fb_reload_append_hash',
) as $var) {
variable_del($var);
}
$num_deleted = db_delete("variable")
->condition('name', 'fb_language_%', 'like')
->execute();
}