Profile update and some more is now added
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user