mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-17 05:48:49 +00:00
Nope, not wanted here:
MrPetovan@github: | No, this is fetching all the users who set StatusNet mirroring. it starts | from a pconfig value to get user IDs, which is the opposite of PConfig::get() Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
f9a5efbfbe
commit
f167730b16
1 changed files with 0 additions and 2 deletions
|
@ -730,7 +730,6 @@ function statusnet_cron(App $a)
|
|||
}
|
||||
logger('statusnet: cron_start');
|
||||
|
||||
/// @TODO Use PConfig::get() here maybe?
|
||||
$r = q("SELECT * FROM `pconfig` WHERE `cat` = 'statusnet' AND `k` = 'mirror_posts' AND `v` = '1' ORDER BY RAND() ");
|
||||
|
||||
if (DBM::is_result($r)) {
|
||||
|
@ -747,7 +746,6 @@ function statusnet_cron(App $a)
|
|||
|
||||
$abandon_limit = date(DateTimeFormat::MYSQL, time() - $abandon_days * 86400);
|
||||
|
||||
/// @TODO Use PConfig::get() here maybe?
|
||||
$r = q("SELECT * FROM `pconfig` WHERE `cat` = 'statusnet' AND `k` = 'import' AND `v` ORDER BY RAND()");
|
||||
|
||||
if (DBM::is_result($r)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue