function ad_update_2 in Advertisement 5.2
Same name and namespace in other branches
- 5 ad.install \ad_update_2()
Ad notifications are being moved to an external module, so remove all references from the core module.
File
- ./
ad.install, line 226
Code
function ad_update_2() {
$ret = array();
switch ($GLOBALS['db_type']) {
default:
$ret[] = update_sql("DROP TABLE {ad_notifications}");
$ret[] = update_sql("ALTER TABLE {ads} DROP expire_notified");
$ret[] = update_sql("ALTER TABLE {ads} DROP renew_notified");
}
return $ret;
}