jappixmini: logging message when cron hook is called
parent
a85bd199ac
commit
360502d385
|
@ -450,6 +450,7 @@ function jappixmini_cron(&$a, $d) {
|
||||||
|
|
||||||
// go through list of users with jabber enabled
|
// go through list of users with jabber enabled
|
||||||
$users = q("SELECT `uid` FROM `pconfig` WHERE `cat`='jappixmini' AND (`k`='autosubscribe' OR `k`='autoapprove') AND `v`='1'");
|
$users = q("SELECT `uid` FROM `pconfig` WHERE `cat`='jappixmini' AND (`k`='autosubscribe' OR `k`='autoapprove') AND `v`='1'");
|
||||||
|
logger("jappixmini: Update list of contacts' jabber accounts for ".count($users)." users.");
|
||||||
|
|
||||||
foreach ($users as $row) {
|
foreach ($users as $row) {
|
||||||
$uid = $row["uid"];
|
$uid = $row["uid"];
|
||||||
|
|
Loading…
Reference in New Issue