X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=7dc99bbe88c3621e72babf21a08823088ad08694;hb=ebb84f5e434370596c303cde86c4ebc96fa3cdc5;hp=4b95c89128ba32b96437a7297bc3e868c706d144;hpb=35c38c77e27158dee13c0e91c45a74c3f336147e;p=friendica.git diff --git a/boot.php b/boot.php index 4b95c89128..7dc99bbe88 100644 --- a/boot.php +++ b/boot.php @@ -35,7 +35,7 @@ use Friendica\Util\DateTimeFormat; define('FRIENDICA_PLATFORM', 'Friendica'); define('FRIENDICA_CODENAME', 'The Tazmans Flax-lily'); -define('FRIENDICA_VERSION', '2019.01-rc'); +define('FRIENDICA_VERSION', '2019.03-dev'); define('DFRN_PROTOCOL_VERSION', '2.23'); define('NEW_UPDATE_ROUTINE_VERSION', 1170); @@ -97,19 +97,6 @@ define('SSL_POLICY_FULL', 1); define('SSL_POLICY_SELFSIGN', 2); /* @}*/ -/** - * @name Register - * - * Registration policies - * @{ - */ -define('REGISTER_CLOSED', 0); -define('REGISTER_APPROVE', 1); -define('REGISTER_OPEN', 2); -/** - * @} -*/ - /** * @name CP * @@ -327,6 +314,8 @@ if (!defined('CURLE_OPERATION_TIMEDOUT')) { * * Useful in functions which require it but don't get it passed to them * + * @deprecated since version 2018.09 + * @see BaseObject::getApp() * @return App */ function get_app() @@ -457,7 +446,7 @@ function notice($s) return; } - $a = get_app(); + $a = \get_app(); if (empty($_SESSION['sysmsg'])) { $_SESSION['sysmsg'] = []; } @@ -475,7 +464,7 @@ function notice($s) */ function info($s) { - $a = get_app(); + $a = \get_app(); if (local_user() && PConfig::get(local_user(), 'system', 'ignore_info')) { return; @@ -538,7 +527,7 @@ function feed_birthday($uid, $tz) */ function is_site_admin() { - $a = get_app(); + $a = \get_app(); $admin_email = Config::get('config', 'admin_email'); @@ -647,7 +636,7 @@ function get_server() function get_temppath() { - $a = get_app(); + $a = \get_app(); $temppath = Config::get("system", "temppath");