Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -77,12 +77,8 @@ class _Build extends \IPS\Dispatcher
|
||||
|
||||
\IPS\Data\Store::i()->builder_building = time();
|
||||
}
|
||||
|
||||
unset( \IPS\Data\Store::i()->settings );
|
||||
|
||||
\IPS\Db::i()->update( 'core_sys_conf_settings', array( 'conf_value' => 0 ), array( 'conf_key=?', 'site_online' ) );
|
||||
\IPS\Settings::i()->site_online = 0;
|
||||
unset( \IPS\Data\Store::i()->settings );
|
||||
|
||||
\IPS\Settings::i()->changeValues( array( 'site_online' => 0 ) );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -96,11 +92,7 @@ class _Build extends \IPS\Dispatcher
|
||||
{
|
||||
unset( \IPS\Data\Store::i()->builder_building );
|
||||
}
|
||||
|
||||
unset( \IPS\Data\Store::i()->settings );
|
||||
|
||||
\IPS\Db::i()->update( 'core_sys_conf_settings', array( 'conf_value' => 1 ), array( 'conf_key=?', 'site_online' ) );
|
||||
\IPS\Settings::i()->site_online = 1;
|
||||
unset( \IPS\Data\Store::i()->settings );
|
||||
\IPS\Settings::i()->changeValues( array( 'site_online' => 1 ) );
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user