"CreateShadowentry" and "ProfileUpdate" now moved as well

This commit is contained in:
Michael 2017-11-19 16:59:37 +00:00
parent 98686e9091
commit 2de457489f
10 changed files with 46 additions and 37 deletions

View file

@ -0,0 +1,19 @@
<?php
/**
* @file src/Worker/ProfileUpdate.php
* @brief Send updated profile data to Diaspora
*/
namespace Friendica\Worker;
use Friendica\Protocol\Diaspora;
class ProfileUpdate {
public static function execute($uid = 0) {
if (empty($uid)) {
return;
}
Diaspora::send_profile($uid);
}
}