1
0
Fork 0

Log function

implement log() function.
This commit is contained in:
Adam Magness 2018-10-29 17:20:46 -04:00
commit 14fde5dc9b
122 changed files with 1280 additions and 1161 deletions

View file

@ -6,6 +6,7 @@
namespace Friendica\Worker;
use Friendica\Core\Logger;
use Friendica\Core\Protocol;
use Friendica\Database\DBA;
use Friendica\Network\Probe;
@ -16,10 +17,10 @@ class UpdateGContact
{
public static function execute($contact_id)
{
logger('update_gcontact: start');
Logger::log('update_gcontact: start');
if (empty($contact_id)) {
logger('update_gcontact: no contact');
Logger::log('update_gcontact: no contact');
return;
}