Add some analysing stuff, rendered value is written now more often

This commit is contained in:
Michael Vogel 2016-01-14 21:56:37 +01:00
parent 9b5c6ed580
commit c4ba035ee3
7 changed files with 52 additions and 15 deletions

View file

@ -230,7 +230,7 @@ function cron_run(&$argv, &$argc){
// Repair missing Diaspora settings
$r = q("SELECT `id`, `url` FROM `contact`
WHERE `uid` > 0 AND `network` = '%s' AND (`batch` = '' OR `notify` = '' OR `poll` = '' OR pubkey = '')
WHERE `network` = '%s' AND (`batch` = '' OR `notify` = '' OR `poll` = '' OR pubkey = '')
ORDER BY RAND() LIMIT 50", dbesc(NETWORK_DIASPORA));
if ($r) {
foreach ($r AS $contact) {