Relocate the site now relocates adresses in the "unique_contacts" table as well.
This commit is contained in:
parent
c980e6d20d
commit
6e67d39241
|
@ -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
|
||||
|
@ -918,8 +919,8 @@ function admin_page_users(&$a){
|
|||
'$delete' => t('Delete'),
|
||||
'$block' => t('Block'),
|
||||
'$unblock' => t('Unblock'),
|
||||
'$siteadmin' => t('Site admin'),
|
||||
'$accountexpired' => t('Account expired'),
|
||||
'$siteadmin' => t('Site admin'),
|
||||
'$accountexpired' => t('Account expired'),
|
||||
|
||||
'$h_users' => t('Users'),
|
||||
'$h_newuser' => t('New User'),
|
||||
|
@ -929,7 +930,7 @@ function admin_page_users(&$a){
|
|||
'$confirm_delete_multi' => t('Selected users will be deleted!\n\nEverything these users had posted on this site will be permanently deleted!\n\nAre you sure?'),
|
||||
'$confirm_delete' => t('The user {0} will be deleted!\n\nEverything this user has posted on this site will be permanently deleted!\n\nAre you sure?'),
|
||||
|
||||
'$form_security_token' => get_form_security_token("admin_users"),
|
||||
'$form_security_token' => get_form_security_token("admin_users"),
|
||||
|
||||
// values //
|
||||
'$baseurl' => $a->get_baseurl(true),
|
||||
|
@ -938,8 +939,8 @@ function admin_page_users(&$a){
|
|||
'deleted' => $deleted,
|
||||
'$users' => $users,
|
||||
'$newusername' => array('new_user_name', t("Name"), '', t("Name of the new user.")),
|
||||
'$newusernickname' => array('new_user_nickname', t("Nickname"), '', t("Nickname of the new user.")),
|
||||
'$newuseremail' => array('new_user_email', t("Email"), '', t("Email address of the new user.")),
|
||||
'$newusernickname' => array('new_user_nickname', t("Nickname"), '', t("Nickname of the new user.")),
|
||||
'$newuseremail' => array('new_user_email', t("Email"), '', t("Email address of the new user.")),
|
||||
));
|
||||
$o .= paginate($a);
|
||||
return $o;
|
||||
|
|
Loading…
Reference in a new issue