mirror of
https://github.com/friendica/friendica
synced 2025-04-27 16:30:10 +00:00
Profile update and some more is now added
This commit is contained in:
parent
761bdafa34
commit
5456ef0185
2 changed files with 167 additions and 46 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue