You are here

function search_restrict_update_6001 in Search Restrict 7

Same name and namespace in other branches
  1. 6.2 search_restrict.install \search_restrict_update_6001()
  2. 6 search_restrict.install \search_restrict_update_6001()

Remove extra variables set by the content type form.

File

./search_restrict.install, line 26
Install, update and uninstall functions for the Search Restrict module.

Code

function search_restrict_update_6001() {
  $ret = array();
  $ret[] = update_sql("DELETE FROM {variable} WHERE NAME LIKE 'search_restrict_roles_%'");
  return $ret;
}