function simplenews_update_2 in Simplenews 6
Same name and namespace in other branches
- 5 simplenews.install \simplenews_update_2()
- 6.2 simplenews.install \simplenews_update_2()
Rename sn_* tables to simplenews_* to avoid namespace conflicts.
File
- ./
simplenews.install, line 289 - Simplenews installation.
Code
function simplenews_update_2() {
$ret = array();
db_rename_table($ret, 'sn_snid_tid', 'simplenews_snid_tid');
db_rename_table($ret, 'sn_newsletters', 'simplenews_newsletters');
db_rename_table($ret, 'sn_subscriptions', 'simplenews_subscriptions');
return $ret;
}