You are here

function spam_skip_update in Spam 5.3

When upgrading from the earlier 5.x-1.x versoin of the spam module, we need to skip _5301 through _5305, as they are contained in the _5300 update. This is because the upgrade process wasn't written until late in the Alpha development of the module.

6 calls to spam_skip_update()
spam_update_5300 in ./spam.install
Upgrade websites that were running old Spam 2.0 modules.
spam_update_5301 in ./spam.install
Add trid field to spam_log table.
spam_update_5302 in ./spam.install
Introduce spam_statistics table.
spam_update_5303 in ./spam.install
Mark spam comments as SPAM_COMMENT instead of COMMENT_NOT_PUBLISHED.
spam_update_5304 in ./spam.install
Add missing index, showed up in my slow query log.

... See full list

File

./spam.install, line 239

Code

function spam_skip_update($set = FALSE) {
  static $skip = FALSE;
  if (isset($set)) {
    $skip = TRUE;
  }
  return $skip;
}