]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/NotificationsManager.php
Log function
[friendica.git] / src / Core / NotificationsManager.php
index 9250bc2e5b46dd7f266eff4a99e00f145550fb5a..d75dd18d97ac8ac589edcc0bd36778ed7c2bf0ac 100644 (file)
@@ -9,6 +9,7 @@ namespace Friendica\Core;
 use Friendica\BaseObject;
 use Friendica\Content\Text\BBCode;
 use Friendica\Content\Text\HTML;
+use Friendica\Core\Logger;
 use Friendica\Core\Protocol;
 use Friendica\Database\DBA;
 use Friendica\Model\Contact;
@@ -358,7 +359,7 @@ class NotificationsManager extends BaseObject
                                                        break;
                                                }
                                                /// @todo Check if this part here is used at all
-                                               logger('Complete data: ' . json_encode($it) . ' - ' . System::callstack(20), LOGGER_DEBUG);
+                                               Logger::log('Complete data: ' . json_encode($it) . ' - ' . System::callstack(20), LOGGER_DEBUG);
 
                                                $xmlhead = "<" . "?xml version='1.0' encoding='UTF-8' ?" . ">";
                                                $obj = XML::parseString($xmlhead . $it['object']);