]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/APContact.php
Log function
[friendica.git] / src / Model / APContact.php
index 72c644ab9ac0d15302d321f4ca0489f4c19c50a0..e5dd27e0e36f55dcae1a5bfd4bdbabea753742ee 100644 (file)
@@ -7,6 +7,7 @@
 namespace Friendica\Model;
 
 use Friendica\BaseObject;
+use Friendica\Core\Logger;
 use Friendica\Database\DBA;
 use Friendica\Protocol\ActivityPub;
 use Friendica\Util\Network;
@@ -192,7 +193,7 @@ class APContact extends BaseObject
                // Update the gcontact table
                DBA::update('gcontact', $contact_fields, ['nurl' => normalise_link($url)]);
 
-               logger('Updated profile for ' . $url, LOGGER_DEBUG);
+               Logger::log('Updated profile for ' . $url, LOGGER_DEBUG);
 
                return $apcontact;
        }