mirror of
https://github.com/friendica/friendica
synced 2025-04-26 03:50:12 +00:00
Log function
implement log() function.
This commit is contained in:
parent
d6d593d724
commit
14fde5dc9b
122 changed files with 1280 additions and 1161 deletions
|
@ -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;
|
||||
|
@ -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 '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue