From: Hypolite Petovan Date: Sat, 9 Feb 2019 04:43:50 +0000 (-0500) Subject: Restore legacy REGISTER_* constants for local config backward compatibility X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5e79805fd18a0086dd94db7917b47de9dfc98b65;p=friendica.git Restore legacy REGISTER_* constants for local config backward compatibility --- diff --git a/boot.php b/boot.php index 318798e324..1f503c908a 100644 --- a/boot.php +++ b/boot.php @@ -92,6 +92,13 @@ define('SSL_POLICY_FULL', 1); define('SSL_POLICY_SELFSIGN', 2); /* @}*/ +/** @deprecated since version 2019.03, please use \Friendica\Module\Register::CLOSED instead */ +define('REGISTER_CLOSED', \Friendica\Module\Register::CLOSED); +/** @deprecated since version 2019.03, please use \Friendica\Module\Register::APPROVE instead */ +define('REGISTER_APPROVE', \Friendica\Module\Register::APPROVE); +/** @deprecated since version 2019.03, please use \Friendica\Module\Register::OPEN instead */ +define('REGISTER_OPEN', \Friendica\Module\Register::OPEN); + /** * @name CP *