php warning if no jappix users configured
parent
9aa34f106c
commit
02f12234f1
BIN
jappixmini.tgz
BIN
jappixmini.tgz
Binary file not shown.
|
@ -488,6 +488,9 @@ function jappixmini_cron(&$a, $d) {
|
|||
$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.");
|
||||
|
||||
if(! count($users))
|
||||
return;
|
||||
|
||||
foreach ($users as $row) {
|
||||
$uid = $row["uid"];
|
||||
|
||||
|
|
Loading…
Reference in New Issue