X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=c759bb93d25f1880f77ac2d82504962b5cb87882;hb=23953be7cbc0649285ec0d39e13f63db573703bc;hp=473b006407fbe8988bd50db1df6e2a3c60f20975;hpb=960d440ab6e68987892ec679c1436e5388f350a1;p=friendica.git diff --git a/boot.php b/boot.php index 473b006407..c759bb93d2 100644 --- a/boot.php +++ b/boot.php @@ -30,8 +30,8 @@ use Friendica\Model\Contact; define('FRIENDICA_PLATFORM', 'Friendica'); -define('FRIENDICA_CODENAME', 'Siberian Iris'); -define('FRIENDICA_VERSION', '2022.05-dev'); +define('FRIENDICA_CODENAME', 'Giant Rhubarb'); +define('FRIENDICA_VERSION', '2022.09-dev'); define('DFRN_PROTOCOL_VERSION', '2.23'); define('NEW_TABLE_STRUCTURE_VERSION', 1288); @@ -87,8 +87,8 @@ define('PRIORITIES', [PRIORITY_CRITICAL, PRIORITY_HIGH, PRIORITY_MEDIUM, PRIORIT /* @}*/ // Normally this constant is defined - but not if "pcntl" isn't installed -if (!defined("SIGTERM")) { - define("SIGTERM", 15); +if (!defined('SIGTERM')) { + define('SIGTERM', 15); } /** @@ -117,6 +117,7 @@ function local_user() if (!empty($_SESSION['authenticated']) && !empty($_SESSION['uid'])) { return intval($_SESSION['uid']); } + return false; } @@ -169,7 +170,7 @@ function remote_user() * * @param string $s - Text of notice */ -function notice($s) +function notice(string $s) { if (empty($_SESSION)) { return; @@ -189,7 +190,7 @@ function notice($s) * * @param string $s - Text of notice */ -function info($s) +function info(string $s) { if (empty($_SESSION)) { return;