Bugfix: Timeout problems when saving profile settings

This commit is contained in:
Michael
2017-05-19 06:01:13 +00:00
parent f1090dd359
commit 6e8e326705
5 changed files with 12 additions and 10 deletions
+8 -2
View File
@@ -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);
}