Browse Source

Restore legacy REGISTER_* constants for local config backward compatibility

tags/2019.03^2
Hypolite Petovan 6 months ago
parent
commit
5e79805fd1
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      boot.php

+ 7
- 0
boot.php View File

@@ -92,6 +92,13 @@ define('SSL_POLICY_FULL',         1);
92 92
 define('SSL_POLICY_SELFSIGN',     2);
93 93
 /* @}*/
94 94
 
95
+/** @deprecated since version 2019.03, please use \Friendica\Module\Register::CLOSED instead */
96
+define('REGISTER_CLOSED',        \Friendica\Module\Register::CLOSED);
97
+/** @deprecated since version 2019.03, please use \Friendica\Module\Register::APPROVE instead */
98
+define('REGISTER_APPROVE',       \Friendica\Module\Register::APPROVE);
99
+/** @deprecated since version 2019.03, please use \Friendica\Module\Register::OPEN instead */
100
+define('REGISTER_OPEN',          \Friendica\Module\Register::OPEN);
101
+
95 102
 /**
96 103
  * @name CP
97 104
  *

Loading…
Cancel
Save