mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02: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
|
@ -3873,7 +3873,7 @@ function api_account_update_profile_image($type)
|
|||
Worker::add(PRIORITY_LOW, "Directory", $url);
|
||||
}
|
||||
|
||||
Worker::add(PRIORITY_LOW, 'profile_update', api_user());
|
||||
Worker::add(PRIORITY_LOW, 'ProfileUpdate', api_user());
|
||||
|
||||
// output for client
|
||||
if ($data) {
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* @file include/create_shadowentry.php
|
||||
* @brief This script creates posts with UID = 0 for a given public post.
|
||||
*
|
||||
* This script is started from mod/item.php to save some time when doing a post.
|
||||
*/
|
||||
|
||||
require_once("include/threads.php");
|
||||
|
||||
function create_shadowentry_run($argv, $argc) {
|
||||
if ($argc != 2) {
|
||||
return;
|
||||
}
|
||||
|
||||
$message_id = intval($argv[1]);
|
||||
|
||||
add_shadow_entry($message_id);
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
<?php
|
||||
use Friendica\Protocol\Diaspora;
|
||||
|
||||
function profile_update_run(&$argv, &$argc) {
|
||||
if ($argc != 2) {
|
||||
return;
|
||||
}
|
||||
|
||||
$uid = intval($argv[1]);
|
||||
|
||||
Diaspora::send_profile($uid);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue