bug in diaspora_reshare
This commit is contained in:
parent
96c0598737
commit
da416e0181
5 changed files with 122 additions and 5 deletions
|
@ -90,6 +90,9 @@ function profile_photo_post(&$a) {
|
|||
$url = $a->get_baseurl() . '/profile/' . $a->user['nickname'];
|
||||
if($url && strlen(get_config('system','directory_submit_url')))
|
||||
proc_run('php',"include/directory.php","$url");
|
||||
|
||||
require_once('include/profile_update.php');
|
||||
profile_change();
|
||||
}
|
||||
else
|
||||
notice( t('Unable to process image') . EOL);
|
||||
|
|
|
@ -210,6 +210,9 @@ function profiles_post(&$a) {
|
|||
$url = $_SESSION['my_url'];
|
||||
if($url && strlen(get_config('system','directory_submit_url')))
|
||||
proc_run('php',"include/directory.php","$url");
|
||||
|
||||
require_once('include/profile_update.php');
|
||||
profile_change();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -296,9 +296,9 @@ function settings_post(&$a) {
|
|||
|
||||
}
|
||||
|
||||
// not yet ready for prime time
|
||||
// require_once('include/profile_update.php');
|
||||
// profile_change();
|
||||
|
||||
require_once('include/profile_update.php');
|
||||
profile_change();
|
||||
|
||||
$_SESSION['theme'] = $theme;
|
||||
if($email_changed && $a->config['register_policy'] == REGISTER_VERIFY) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue