mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Core Logger
implement log() function. more to squash Core Logger Class implement log() function
This commit is contained in:
parent
b53157370a
commit
49eff56e5d
46 changed files with 348 additions and 302 deletions
|
@ -66,6 +66,7 @@ use Friendica\App;
|
|||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\PConfig;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Database\DBA;
|
||||
|
@ -584,7 +585,7 @@ function jappixmini_cron(App $a, $d)
|
|||
|
||||
// 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'");
|
||||
logger("jappixmini: Update list of contacts' jabber accounts for " . count($users) . " users.");
|
||||
Logger::log("jappixmini: Update list of contacts' jabber accounts for " . count($users) . " users.");
|
||||
|
||||
if (!count($users)) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue