Bugfix: Timeout problems when saving profile settings
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
<?php
|
||||
require_once('include/diaspora.php');
|
||||
|
||||
function profile_change() {
|
||||
Diaspora::send_profile(local_user());
|
||||
function profile_update_run(&$argv, &$argc) {
|
||||
if ($argc != 2) {
|
||||
return;
|
||||
}
|
||||
|
||||
$uid = intval($argv[1]);
|
||||
|
||||
Diaspora::send_profile($uid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user