Relocate the site now relocates adresses in the "unique_contacts" table as well.

This commit is contained in:
Michael Vogel 2014-07-09 21:36:20 +02:00
parent c980e6d20d
commit 6e67d39241
1 changed files with 33 additions and 32 deletions

View File

@ -283,6 +283,7 @@ function admin_page_site_post(&$a){
update_table("profile", array('photo', 'thumb'), $old_url, $new_url);
update_table("term", array('url'), $old_url, $new_url);
update_table("contact", array('photo','thumb','micro','url','nurl','request','notify','poll','confirm','poco'), $old_url, $new_url);
update_table("unique_contacts", array('url'), $old_url, $new_url);
update_table("item", array('owner-link','owner-avatar','author-name','author-link','author-avatar','body','plink','tag'), $old_url, $new_url);
// update config