mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:40:17 +00:00
Relocate the site now relocates adresses in the "unique_contacts" table as well.
This commit is contained in:
parent
c980e6d20d
commit
6e67d39241
1 changed files with 33 additions and 32 deletions
|
@ -283,6 +283,7 @@ function admin_page_site_post(&$a){
|
||||||
update_table("profile", array('photo', 'thumb'), $old_url, $new_url);
|
update_table("profile", array('photo', 'thumb'), $old_url, $new_url);
|
||||||
update_table("term", array('url'), $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("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_table("item", array('owner-link','owner-avatar','author-name','author-link','author-avatar','body','plink','tag'), $old_url, $new_url);
|
||||||
|
|
||||||
// update config
|
// update config
|
||||||
|
|
Loading…
Reference in a new issue