mirror of
https://github.com/e107inc/e107.git
synced 2025-07-26 17:30:24 +02:00
Option to bypass maintenance flag added.
This commit is contained in:
@@ -980,7 +980,7 @@ if(varset($pref['force_userupdate']) && USER && !isset($_E107['no_forceuserupdat
|
|||||||
$sql->db_Mark_Time('Start: Signup/splash/admin');
|
$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?
|
//XXX move force_userupdate() also?
|
||||||
e107::getRedirect()->checkMaintenance();
|
e107::getRedirect()->checkMaintenance();
|
||||||
|
@@ -494,6 +494,8 @@ class mailout_main_ui extends e_admin_ui
|
|||||||
{
|
{
|
||||||
$ret = $this->processData($new_data);
|
$ret = $this->processData($new_data);
|
||||||
|
|
||||||
|
$ret['mail_content_status'] = MAIL_STATUS_TEMP;
|
||||||
|
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user