mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Option to bypass maintenance flag added.
This commit is contained in:
parent
f8048410b9
commit
e7ad72b3a2
@ -980,7 +980,7 @@ if(varset($pref['force_userupdate']) && USER && !isset($_E107['no_forceuserupdat
|
||||
$sql->db_Mark_Time('Start: Signup/splash/admin');
|
||||
|
||||
|
||||
if(($pref['membersonly_enabled'] && !isset($_E107['allow_guest'])) || ($pref['maintainance_flag'] && empty($_E107['cli'])))
|
||||
if(($pref['membersonly_enabled'] && !isset($_E107['allow_guest'])) || ($pref['maintainance_flag'] && empty($_E107['cli']) && empty($_E107['no_maintenance'])))
|
||||
{
|
||||
//XXX move force_userupdate() also?
|
||||
e107::getRedirect()->checkMaintenance();
|
||||
|
@ -494,6 +494,8 @@ class mailout_main_ui extends e_admin_ui
|
||||
{
|
||||
$ret = $this->processData($new_data);
|
||||
|
||||
$ret['mail_content_status'] = MAIL_STATUS_TEMP;
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user