mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02: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
|
@ -7,6 +7,7 @@
|
|||
*/
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Util\Network;
|
||||
|
||||
function leistungsschutzrecht_install() {
|
||||
|
@ -163,7 +164,7 @@ function leistungsschutzrecht_cron($a,$b) {
|
|||
if($last) {
|
||||
$next = $last + 86400;
|
||||
if($next > time()) {
|
||||
logger('poll intervall not reached');
|
||||
Logger::log('poll intervall not reached');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue