X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FSession.php;h=f08c68ed0829f2de24643ddcbffc2f8b0e1b98e7;hb=24a82110fd45a8422efee0677b7acc214aa66e9a;hp=d0c8581d31e4a07560b261d77039c6684c4d9454;hpb=388b963714895b6aee59648084fe4a66a0964efc;p=friendica.git diff --git a/src/Core/Session.php b/src/Core/Session.php index d0c8581d31..f08c68ed08 100644 --- a/src/Core/Session.php +++ b/src/Core/Session.php @@ -1,8 +1,24 @@ . + * */ + namespace Friendica\Core; use Friendica\Database\DBA; @@ -12,8 +28,6 @@ use Friendica\Util\Strings; /** * High-level Session service class - * - * @author Hypolite Petovan */ class Session { @@ -61,7 +75,7 @@ class Session $session = DI::session(); if (empty($session->get('remote')[$uid])) { - return false; + return 0; } return $session->get('remote')[$uid];