Profile update and some more is now added

This commit is contained in:
Michael 2018-09-30 20:26:30 +00:00
parent 761bdafa34
commit 5456ef0185
2 changed files with 167 additions and 46 deletions

View file

@ -1,12 +1,13 @@
<?php
/**
* @file src/Worker/ProfileUpdate.php
* @brief Send updated profile data to Diaspora
* @brief Send updated profile data to Diaspora and ActivityPub
*/
namespace Friendica\Worker;
use Friendica\Protocol\Diaspora;
use Friendica\Protocol\ActivityPub;
class ProfileUpdate {
public static function execute($uid = 0) {
@ -14,6 +15,7 @@ class ProfileUpdate {
return;
}
ActivityPub::transmitProfileUpdate($uid);
Diaspora::sendProfile($uid);
}
}