]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #6615 from MrPetovan/bug/6336-restore-legacy-register-constants
authorMichael Vogel <icarus@dabo.de>
Sat, 9 Feb 2019 06:02:26 +0000 (07:02 +0100)
committerGitHub <noreply@github.com>
Sat, 9 Feb 2019 06:02:26 +0000 (07:02 +0100)
Restore legacy REGISTER_* constants for local config backward compatibility

boot.php

index 318798e324c3fd693313654feb8da3c7496d6e82..1f503c908a6935c087bd1ef8de8c7ced72342473 100644 (file)
--- 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
  *