We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95610ef commit 862cf6fCopy full SHA for 862cf6f
1 file changed
install/upgrades/upgrade_newusermsg.php
@@ -52,9 +52,7 @@ function description()
52
*/
53
function needed()
54
{
55
- $tmp = (empty(USER_REGISTRATION_WELCOME_MSG_HTML) && !empty(USER_REGISTRATION_WELCOME_MSG));
56
- $tmp1 = !defined('USER_REGISTRATION_WELCOME_MSG_HTML');
57
- return (!defined('USER_REGISTRATION_WELCOME_MSG_HTML') || (empty(USER_REGISTRATION_WELCOME_MSG_HTML) && !empty(USER_REGISTRATION_WELCOME_MSG)));
+ return empty(USER_REGISTRATION_WELCOME_MSG_HTML);
58
}
59
60
/**
@@ -66,7 +64,6 @@ function needed()
66
64
function upgrade()
67
65
68
expSettings::change('USER_REGISTRATION_WELCOME_MSG_HTML', USER_REGISTRATION_WELCOME_MSG);
69
-
70
return gt('New User Welcome Message was Upgraded.');
71
72
0 commit comments