friendica/include/profile_update.php

13 lines
179 B
PHP
Raw Normal View History

2011-10-20 12:43:33 +00:00
<?php
use Friendica\Protocol\Diaspora;
2011-10-20 12:43:33 +00:00
function profile_update_run(&$argv, &$argc) {
if ($argc != 2) {
return;
}
$uid = intval($argv[1]);
Diaspora::send_profile($uid);
2011-10-21 10:33:34 +00:00
}