"CreateShadowentry" and "ProfileUpdate" now moved as well
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user