]> git.mxchange.org Git - friendica.git/blobdiff - include/profile_update.php
Fetching new queue tasks in a bulk to increase speed
[friendica.git] / include / profile_update.php
index 7aa34d45d7ef5cfbf05dd5862930ae8ec5b21ab6..69484e8fe011d167c1a71868860e75a4e076c689 100644 (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);
 }