X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=a4d0fe5c735e3c2be51e36115490ff93dc229f62;hb=944957a00913727d203efac3e0f0d961d2719d6b;hp=c71c16b354e3bac9609b99e4081d6d3f5d5451fd;hpb=28090bd79376f3a7c0708eeb4e36a25fd782c240;p=friendica.git diff --git a/boot.php b/boot.php index c71c16b354..a4d0fe5c73 100644 --- a/boot.php +++ b/boot.php @@ -38,7 +38,7 @@ use Friendica\Util\DateTimeFormat; define('FRIENDICA_PLATFORM', 'Friendica'); define('FRIENDICA_CODENAME', 'Siberian Iris'); -define('FRIENDICA_VERSION', '2021.09-dev'); +define('FRIENDICA_VERSION', '2021.12-dev'); define('DFRN_PROTOCOL_VERSION', '2.23'); define('NEW_TABLE_STRUCTURE_VERSION', 1288); @@ -379,7 +379,7 @@ function is_site_admin() $adminlist = explode(',', str_replace(' ', '', $admin_email)); - return local_user() && $admin_email && DBA::exists('user', ['uid' => $a->getUserId(), 'email' => $adminlist]); + return local_user() && $admin_email && DBA::exists('user', ['uid' => $a->getLoggedInUserId(), 'email' => $adminlist]); } /**