variable_del
- Versions
- 5 – 7
variable_del($name)
Unset a persistent variable.
See also
variable_get(), variable_set()
Parameters
$name The name of the variable to undefine.
▾ 205 functions call variable_del()
- admin_menu_footer in contrib/admin_menu/admin_menu.module
- Implementation of hook_footer().
- admin_menu_toggle_modules in contrib/admin_menu/admin_menu.inc
- Menu callback to enable/disable developer modules.
- admin_menu_uninstall in contrib/admin_menu/admin_menu.install
- Implementation of hook_uninstall().
- advanced_help_search in contrib/advanced_help/advanced_help.module
- Implementation of hook_search()
- advanced_help_uninstall in contrib/advanced_help/advanced_help.install
- aggregator_uninstall in core/modules/aggregator/aggregator.install
- Implementation of hook_uninstall().
- auto_nodetitle_node_type in contrib/auto_nodetitle/auto_nodetitle.module
- Implementation of hook_node_type().
- auto_nodetitle_uninstall in contrib/auto_nodetitle/auto_nodetitle.install
- Implementation of hook_uninstall().
- block_example_uninstall in contrib/examples/block_example/block_example.install
- Implementation of hook_uninstall().
- calendar_uninstall in contrib/calendar/calendar.install
- Implementation of hook_uninstall(). Remove all traces of calendars.
- calendar_update_6000 in contrib/calendar/calendar.install
- captcha_admin_settings_submit in contrib/captcha/captcha.admin.inc
- Submission function for captcha_admin_settings form.
- color_scheme_form_submit in core/modules/color/color.module
- Submit handler for color change form.
- comment_node_type in core/modules/comment/comment.module
- Implementation of hook_node_type().
- comment_update_6002 in core/modules/comment/comment.install
- Changed comment settings from global to per-node -- copy global settings to all node types.
- contact_uninstall in core/modules/contact/contact.install
- Implementation of hook_uninstall().
- content_field_overview_form_submit in contrib/cck/includes/content.admin.inc
- content_type_update in contrib/cck/includes/content.crud.inc
- Make changes needed when an existing content type is updated.
- content_uninstall in contrib/cck/content.install
- Implementation of hook_uninstall().
- date_api_uninstall in contrib/date/date_api.install
- Implementation of hook_uninstall().
- date_timezone_module_uninstall in contrib/date/date_timezone/date_timezone.install
- date_update_5102 in contrib/date/date/date.install
- Make sure date module loads after date_api.
- devel_disable in contrib/devel/devel.install
- Implementation of hook_disable().
- devel_node_access_uninstall in contrib/devel/devel_node_access.install
- devel_uninstall in contrib/devel/devel.install
- Implementation of hook_uninstall().
- drupal_cron_cleanup in core/includes/common.inc
- Shutdown function for cron cleanup.
- drupal_cron_run in core/includes/common.inc
- Executes a cron run when called
- event_install in contrib/event/event.install
- Implementation of hook_install().
- event_uninstall in contrib/event/event.install
- Implementation of hook_uninstall().
- event_update_3 in contrib/event/event.install
- Update 4.7 or 5.1 to 5.2
- example_profile_tasks in ./example.profile
- Perform any final installation tasks for this profile.
- features_uninstall in contrib/features/features.install
- Implementation of hook_uninstall().
- fivestar_node_type in contrib/fivestar/fivestar.module
- Implementation of hook_node_types().
- fivestar_node_type_form_submit in contrib/fivestar/fivestar.module
- Additional submit handler for the node type form.
- fivestar_update_2 in contrib/fivestar/fivestar.install
- Convert previous fivestar widget settings to new format.
- fivestar_update_6100 in contrib/fivestar/fivestar.install
- Upgrade to Drupal 6 and VotingAPI 2.
- flag_uninstall in contrib/flag/flag.install
- Implementation of hook_uninstall().
- forum_taxonomy in core/modules/forum/forum.module
- Implementation of hook_taxonomy().
- forum_uninstall in core/modules/forum/forum.install
- Implementation of hook_uninstall().
- globalredirect_uninstall in contrib/globalredirect/globalredirect.install
- @file GlobalRedirect Install file - currently only used to clear out variables upon uninstall.
- globalredirect_update_6100 in contrib/globalredirect/globalredirect.install
- gmap_location_block in contrib/gmap/gmap_location.module
- Draw block of location for current node.
- gmap_location_uninstall in contrib/gmap/gmap_location.install
- Implementation of hook_uninstall().
- gmap_location_update_5080 in contrib/gmap/gmap_location.install
- gmap_location_update_5100 in contrib/gmap/gmap_location.install
- 5.x-1.0 update 1.
- gmap_location_update_5101 in contrib/gmap/gmap_location.install
- 5.x-1.0 update 2. (Post-release) Delete unneeded variable.
- gmap_uninstall in contrib/gmap/gmap.install
- Implementation of hook_uninstall().
- gmap_update_5002 in contrib/gmap/gmap.install
- Mini-update -- mousewheel.js no longer needed.
- googleanalytics_uninstall in contrib/google_analytics/googleanalytics.install
- googleanalytics_update_1 in contrib/google_analytics/googleanalytics.install
- googleanalytics_update_6006 in contrib/google_analytics/googleanalytics.install
- Upgrade custom javascript settings.
- googleanalytics_update_6200 in contrib/google_analytics/googleanalytics.install
- Remove outdated legacy support variables and files.
- hook_node_type in hooks/node.php
- Act on node type changes.
- hook_uninstall in hooks/install.php
- Remove any tables or variables that the module sets.
- i18nprofile_update_3 in contrib/i18n/i18nprofile/i18nprofile.install
- i18nstrings_admin_settings in contrib/i18n/i18nstrings/i18nstrings.admin.inc
- Configure filters for string translation.
- i18nstrings_uninstall in contrib/i18n/i18nstrings/i18nstrings.install
- i18ntaxonomy_uninstall in contrib/i18n/i18ntaxonomy/i18ntaxonomy.install
- Implementation of hook_uninstall().
- i18n_uninstall in contrib/i18n/i18n.install
- i18n_update_10 in contrib/i18n/i18n.install
- imageapi_gd_uninstall in contrib/imageapi/imageapi_gd.install
- Implementation of hook_uninstall().
- imageapi_uninstall in contrib/imageapi/imageapi.install
- Implementation of hook_uninstall().
- image_attach_uninstall in contrib/image/contrib/image_attach/image_attach.install
- Implementation of hook_uninstall().
- image_captcha_update_6201 in contrib/captcha/image_captcha/image_captcha.install
- Implementation of hook_update_N()
- image_gallery_uninstall in contrib/image/contrib/image_gallery/image_gallery.install
- Implementation of hook_uninstall().
- image_import_uninstall in contrib/image/contrib/image_import/image_import.install
- image_import_update_1 in contrib/image/contrib/image_import/image_import.install
- image_uninstall in contrib/image/image.install
- Implementation of hook_uninstall().
- imce_install_profiles in contrib/imce/inc/imce.core.profiles.inc
- Create core profiles and import settings from 5.x
- imce_uninstall in contrib/imce/imce.install
- Implementation of hook_uninstall().
- imce_update_6200 in contrib/imce/imce.install
- Convert 6.x-1.x to 6.x-2.x
- img_assist_uninstall in contrib/img_assist/img_assist.install
- Implementation of hook_uninstall().
- img_assist_update_6200 in contrib/img_assist/img_assist.install
- Remove obsolete img_assist_preview_count variable. Disable Image assist if Views is not installed/enabled.
- install_tasks in core/install.php
- Tasks performed after the database is initialized.
- jquery_update_uninstall in contrib/jquery_update/jquery_update.install
- Implementation of hook_uninstall().
- lightbox2_uninstall in contrib/lightbox2/lightbox2.install
- Implementation of hook_uninstall().
- lightbox2_update_2 in contrib/lightbox2/lightbox2.install
- 'lightbox2_image_group' variable has been removed and others need to be updated accordingly.
- lightbox2_update_3 in contrib/lightbox2/lightbox2.install
- 'lightbox2_disable_these_urls' was renamed to 'lightbox2_page_list'. 'lightbox2_page_init_action' was also added which determines whether the lightbox functionality should be enabled or disabled for the page...
- locale_node_type in core/modules/locale/locale.module
- Implementation of hook_node_type().
- locale_uninstall in core/modules/locale/locale.install
- Implementation of hook_uninstall().
- locale_update_6005 in core/modules/locale/locale.install
- Change language setting variable of content types.
- location_addanother_node_type in contrib/location/contrib/location_addanother/location_addanother.module
- Implementation of hook_node_type(). Synchronize our settings.
- location_addanother_uninstall in contrib/location/contrib/location_addanother/location_addanother.install
- Implementation of hook_uninstall().
- location_node_uninstall in contrib/location/location_node.install
- Implentation of hook_uninstall().
- location_search_uninstall in contrib/location/contrib/location_search/location_search.install
- Implementation of hook_uninstall().
- location_search_update_5300 in contrib/location/contrib/location_search/location_search.install
- Rewritten location_search -- Uses the fulltext engine.
- location_taxonomy_taxonomy in contrib/location/contrib/location_taxonomy/location_taxonomy.module
- Implementation of hook_taxonomy().
- location_taxonomy_uninstall in contrib/location/contrib/location_taxonomy/location_taxonomy.install
- location_uninstall in contrib/location/location.install
- Implentation of hook_uninstall().
- location_update_4 in contrib/location/location.install
- Legacy update 4. Add "lid" as the new location key.
- location_update_5301 in contrib/location/location.install
- Location 3.x update 2. Normalize the location table. This allows: Making the loading and saving code cleaner. Fixing a longstanding bug with revisions. Having the same location on multiple nodes/users/both. Garbage collecting unused locations...
- location_update_5303 in contrib/location/location.install
- Location 3.x update 4. Shuffle more variables around.
- location_update_6303 in contrib/location/location.install
- Drupal 6 location 3.x update, part 3.
- location_update_6304 in contrib/location/location.install
- Upgrade all of the settings variables to the new unified system.
- location_update_6306 in contrib/location/location.install
- Add per-location-field weights and defaults.
- location_user_uninstall in contrib/location/location_user.install
- Implentation of hook_uninstall().
- logintoboggan_uninstall in contrib/logintoboggan/logintoboggan.install
- Implementation of hook_uninstall().
- logintoboggan_update_6 in contrib/logintoboggan/logintoboggan.install
- Implementation of hook_update_6()
- logintoboggan_update_6000 in contrib/logintoboggan/logintoboggan.install
- menu_rebuild in core/includes/menu.inc
- (Re)populate the database tables used by various menu functions.
- mimemail_disable in contrib/mimemail/mimemail.install
- Implementation of hook_disable().
- mimemail_uninstall in contrib/mimemail/mimemail.install
- Implementation of hook_uninstall()
- mollom in contrib/mollom/mollom.module
- Call a remote procedure at the Mollom server.
- mollom_update_6105 in contrib/mollom/mollom.install
- Add the {mollom_form} table.
- nodewords_basic_uninstall in contrib/nodewords/nodewords_basic/nodewords_basic.install
- Implements hook_uninstall().
- nodewords_node_type in contrib/nodewords/nodewords.module
- Implements hook_node_type().
- nodewords_uninstall in contrib/nodewords/nodewords.install
- Implements hook_uninstall().
- nodewords_update_6131 in contrib/nodewords/nodewords.install
- Implements hook_update_N().
- nodewords_update_6149 in contrib/nodewords/nodewords.install
- Implements hook_update_N().
- nodewords_update_6164 in contrib/nodewords/nodewords.install
- Implements hook_update_N().
- node_access_needs_rebuild in core/modules/node/node.module
- Flag / unflag the node access grants for rebuilding, or read the current value of the flag.
- node_type_form_submit in core/modules/node/content_types.inc
- Implementation of hook_form_submit().
- og_access_uninstall in contrib/og/modules/og_access/og_access.install
- og_node_type in contrib/og/og.module
- implementation of hook_node_type()
- og_notifications_og_upgrade in contrib/og/modules/og_notifications/og_notifications.install
- Notifications upgrade: Based on the upgrade flag, move existing subscriptions to the notifications module.
- og_notifications_uninstall in contrib/og/modules/og_notifications/og_notifications.install
- Implementation of hook_uninstall().
- og_uninstall in contrib/og/og.install
- og_update_15 in contrib/og/og.install
- og_update_5703 in contrib/og/og.install
- Notifications upgrade: Set flag to indicate that this is an upgraded installation.
- page_manager_install in contrib/ctools/page_manager/page_manager.install
- Implementation of hook_install().
- page_title_node_type in contrib/page_title/page_title.module
- Implementation of hook_node_type().
- page_title_node_type_form_submit in contrib/page_title/page_title.module
- Submit handler for the node_type_form element added in the hook_form_alter() above.
- page_title_uninstall in contrib/page_title/page_title.install
- Implementation of hook_uninstall().
- page_title_update_6200 in contrib/page_title/page_title.install
- Implementation of hook_update_n().
- pathauto_update_4 in contrib/pathauto/pathauto.install
- New style naming for the punctuation chars.
- path_redirect_uninstall in contrib/path_redirect/path_redirect.install
- Implement hook_uninstall().
- print_mail_uninstall in contrib/print/print_mail/print_mail.install
- Implementation of hook_uninstall().
- print_mail_update_6000 in contrib/print/print_mail/print_mail.install
- Update to version 6.x-1.0
- print_mail_update_6003 in contrib/print/print_mail/print_mail.install
- Update to version 6.x-1.2
- print_pdf_uninstall in contrib/print/print_pdf/print_pdf.install
- Implementation of hook_uninstall().
- print_pdf_update_6000 in contrib/print/print_pdf/print_pdf.install
- Update to version 6.x-1.0
- print_pdf_update_6003 in contrib/print/print_pdf/print_pdf.install
- Update to version 6.x-1.2
- print_uninstall in contrib/print/print.install
- Implementation of hook_uninstall().
- print_update_6000 in contrib/print/print.install
- Update to version 6.x-1.0
- print_update_6003 in contrib/print/print.install
- Update to version 6.x-1.2
- profile_uninstall in core/modules/profile/profile.install
- Implementation of hook_uninstall().
- scaffolding_example_uninstall in contrib/examples/scaffolding_example/scaffolding_example.install
- Implementation of hook_uninstall().
- search_uninstall in core/modules/search/search.install
- Implementation of hook_uninstall().
- simplenews_admin_types_delete_submit in contrib/simplenews/simplenews.admin.inc
- simplenews_update_6002 in contrib/simplenews/simplenews.install
- Addition of nid to simplenews_mail_cache to be able to check the newsletter send status.
- statistics_uninstall in core/modules/statistics/statistics.install
- Implementation of hook_uninstall().
- system_settings_form_submit in core/modules/system/system.module
- Execute the system_settings_form.
- system_themes_form_submit in core/modules/system/system.admin.inc
- Process system_themes_form form submissions.
- system_theme_settings_submit in core/modules/system/system.admin.inc
- Process system_theme_settings form submissions.
- system_update_6017 in core/modules/system/system.install
- Rename settings related to user.module email notifications.
- system_update_6021 in core/modules/system/system.install
- Migrate the menu items from the old menu system to the new menu_links table.
- system_update_6036 in core/modules/system/system.install
- Change the search schema and indexing.
- system_update_6042 in core/modules/system/system.install
- Upgrade recolored theme stylesheets to new array structure.
- system_update_6044 in core/modules/system/system.install
- RC1 to RC2 index cleanup.
- thickbox_uninstall in contrib/thickbox/thickbox.install
- Implementation of hook_uninstall().
- trigger_example_uninstall in contrib/examples/trigger_example/trigger_example.install
- Implementation of hook_uninstall().
- uc_attribute_uninstall in contrib/ubercart/uc_attribute/uc_attribute.install
- Implementation of hook_uninstall().
- uc_authorizenet_update_1 in contrib/ubercart/payment/uc_authorizenet/uc_authorizenet.install
- uc_authorizenet_update_2 in contrib/ubercart/payment/uc_authorizenet/uc_authorizenet.install
- uc_authorizenet_update_3 in contrib/ubercart/payment/uc_authorizenet/uc_authorizenet.install
- uc_cart_uninstall in contrib/ubercart/uc_cart/uc_cart.install
- Implementation of hook_uninstall().
- uc_cart_update_6001 in contrib/ubercart/uc_cart/uc_cart.install
- Remove unused variables.
- uc_catalog_taxonomy in contrib/ubercart/uc_catalog/uc_catalog.module
- Implementation of hook_taxonomy().
- uc_catalog_update_2 in contrib/ubercart/uc_catalog/uc_catalog.install
- uc_catalog_update_5 in contrib/ubercart/uc_catalog/uc_catalog.install
- uc_country_remove_form_submit in contrib/ubercart/uc_store/uc_store.admin.inc
- @see uc_country_remove_form()
- uc_cybersource_update_1 in contrib/ubercart/payment/uc_cybersource/uc_cybersource.install
- uc_flatrate_update_2 in contrib/ubercart/shipping/uc_flatrate/uc_flatrate.install
- uc_google_checkout_update_6001 in contrib/ubercart/payment/uc_google_checkout/uc_google_checkout.install
- uc_order_uninstall in contrib/ubercart/uc_order/uc_order.install
- Implementation of hook_uninstall().
- uc_payment_uninstall in contrib/ubercart/payment/uc_payment/uc_payment.install
- uc_paypal_update_2 in contrib/ubercart/payment/uc_paypal/uc_paypal.install
- uc_product_field_settings_form_reset in contrib/ubercart/uc_product/uc_product.admin.inc
- Reset field settings to their default values. See alsouc_product_field_settings_form()
- uc_product_kit_uninstall in contrib/ubercart/uc_product_kit/uc_product_kit.install
- Implementation of hook_uninstall().
- uc_product_uninstall in contrib/ubercart/uc_product/uc_product.install
- Implementation of hook_uninstall().
- uc_quote_uninstall in contrib/ubercart/shipping/uc_quote/uc_quote.install
- Implementation of hook_uninstall().
- uc_quote_update_1 in contrib/ubercart/shipping/uc_quote/uc_quote.install
- uc_stock_uninstall in contrib/ubercart/uc_stock/uc_stock.install
- Implementation of hook_uninstall().
- uc_store_address_fields_form_reset in contrib/ubercart/uc_store/uc_store.module
- Reset the address fields settings to their default values. See alsouc_store_address_fields_form()
- uc_store_initials_submit in contrib/ubercart/uc_store/uc_store.admin.inc
- @see uc_store_initials()
- uc_store_uninstall in contrib/ubercart/uc_store/uc_store.install
- Implementation of hook_uninstall().
- uc_store_update_4 in contrib/ubercart/uc_store/uc_store.install
- uc_store_update_6003 in contrib/ubercart/uc_store/uc_store.install
- uc_store_update_6004 in contrib/ubercart/uc_store/uc_store.install
- Remove broken statistics reporting.
- uc_ups_uninstall in contrib/ubercart/shipping/uc_ups/uc_ups.install
- Implementation of hook_uninstall().
- uc_usps_uninstall in contrib/ubercart/shipping/uc_usps/uc_usps.install
- Implementation of hook_uninstall().
- uc_weightquote_uninstall in contrib/ubercart/shipping/uc_weightquote/uc_weightquote.install
- Implementation of hook_uninstall().
- uc_weightquote_update_6001 in contrib/ubercart/shipping/uc_weightquote/uc_weightquote.install
- update_settings_submit in core/modules/update/update.settings.inc
- Submit handler for the settings tab.
- update_uninstall in core/modules/update/update.install
- Implementation of hook_uninstall().
- webform_uninstall in contrib/webform/webform.install
- Implementation of hook_uninstall().
- webform_update_14 in contrib/webform/webform.install
- Variable name changes.
- webform_update_19 in contrib/webform/webform.install
- Upgrade hook to remove the captcha component.
- webform_update_9 in contrib/webform/webform.install
- Remove webform version variable, now obsolete with schema and version numbers. Split columns for email_from into email_from_address and email_from_name
- xmlsitemap_engines_uninstall in contrib/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.install
- Implements hook_uninstall().
- xmlsitemap_engines_update_6201 in contrib/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.install
- Cleanup 6.x-1.x variables and weights.
- xmlsitemap_link_bundle_delete in contrib/xmlsitemap/xmlsitemap.module
- xmlsitemap_link_bundle_rename in contrib/xmlsitemap/xmlsitemap.module
- xmlsitemap_menu_update_6200 in contrib/xmlsitemap/xmlsitemap_menu/xmlsitemap_menu.install
- Cleanup variables.
- xmlsitemap_node_update_6200 in contrib/xmlsitemap/xmlsitemap_node/xmlsitemap_node.install
- Cleanup variables.
- xmlsitemap_node_update_6201 in contrib/xmlsitemap/xmlsitemap_node/xmlsitemap_node.install
- Cleanup any remaining 6.x-1.x tables, variables or weights.
- xmlsitemap_taxonomy_update_6200 in contrib/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.install
- Cleanup variables.
- xmlsitemap_uninstall in contrib/xmlsitemap/xmlsitemap.install
- Implements hook_uninstall().
- xmlsitemap_update_6196 in contrib/xmlsitemap/xmlsitemap.install
- Upgrade 6.x-1.x variables.
- xmlsitemap_update_6201 in contrib/xmlsitemap/xmlsitemap.install
- Cleanup any remaining 6.x-1.x tables, variables or weights.
- xmlsitemap_update_6202 in contrib/xmlsitemap/xmlsitemap.install
- Create the {xmlsitemap_sitemap} table and add the sitemap context data.
- xmlsitemap_user_update_6202 in contrib/xmlsitemap/xmlsitemap_user/xmlsitemap_user.install
- Cleanup any remaining 6.x-1.x tables, variables or weights.
- _conditional_styles_theme in contrib/zen/zen-internals/template.conditional-styles.inc
- When the theme registry is rebuilt, we also build the conditional stylesheets.
- _emvideo_upgrade_from_video_cck in contrib/emfield/contrib/emvideo/emvideo.install
- Clean up our messes when migrating from video_cck.
- _update_remove_update_status_variables in core/modules/update/update.install
- Private helper to clear out stale variables from update_status 5.x contrib. See alsoupdate_install()
Code
core/includes/bootstrap.inc, line 618
<?php
function variable_del($name) {
global $conf;
db_query("DELETE FROM {variable} WHERE name = '%s'", $name);
cache_clear_all('variables', 'cache');
unset($conf[$name]);
}
?>


