mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:50:11 +00:00
"CreateShadowentry" and "ProfileUpdate" now moved as well
This commit is contained in:
parent
98686e9091
commit
2de457489f
10 changed files with 46 additions and 37 deletions
19
src/Worker/ProfileUpdate.php
Normal file
19
src/Worker/ProfileUpdate.php
Normal 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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue