You are here

function glossary_update_5101 in Glossary 5.2

Same name and namespace in other branches
  1. 5 glossary.install \glossary_update_5101()

Implementation of hook_update_N(). We no longer support the old blocks, so let's delete them from the blocks table.

File

./glossary.install, line 23
Install file for Glossary module.

Code

function glossary_update_5101() {
  $ret = array();
  $ret[] = update_sql("DELETE FROM {blocks} WHERE module='glossary' AND (delta<'999' AND delta>'0')");
  return $ret;
}