X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FSession%2FDatabaseSessionHandler.php;h=91788588faeb3f77e775feae960ac3dfbcceee77;hb=bd972151478f40f73585519110700222a1931d44;hp=d0887d112328179229cf4fe6eed57ab0184d5101;hpb=cfa68c52b9117616fa95a4639ad74e7d220d193d;p=friendica.git diff --git a/src/Core/Session/DatabaseSessionHandler.php b/src/Core/Session/DatabaseSessionHandler.php index d0887d1123..91788588fa 100644 --- a/src/Core/Session/DatabaseSessionHandler.php +++ b/src/Core/Session/DatabaseSessionHandler.php @@ -3,6 +3,7 @@ namespace Friendica\Core\Session; use Friendica\BaseObject; +use Friendica\Core\Logger; use Friendica\Core\Session; use Friendica\Database\DBA; use SessionHandlerInterface; @@ -14,7 +15,7 @@ require_once 'include/text.php'; /** * SessionHandler using database * - * @author Hypolite Petovan + * @author Hypolite Petovan */ class DatabaseSessionHandler extends BaseObject implements SessionHandlerInterface { @@ -34,7 +35,7 @@ class DatabaseSessionHandler extends BaseObject implements SessionHandlerInterfa Session::$exists = true; return $session['data']; } - logger("no data for session $session_id", LOGGER_TRACE); + Logger::log("no data for session $session_id", Logger::TRACE); return ''; }