Skip to content

Commit a3e9358

Browse files
committed
Clean up of Kloxo
1 parent 1a04f3d commit a3e9358

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

hypervm/httpdocs/htmllib/lib/updatelib.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ function fixExtraDB()
329329
$sq->rawQuery("update vps set priv_q_centralbackup_flag = centralbackup_flag where priv_q_centralbackup_flag = ''");
330330
$sq->rawQuery("update vps set priv_q_centralbackup_flag = centralbackup_flag where priv_q_centralbackup_flag is null");
331331

332-
db_set_default('vps', 'kloxo_flag', 'on');
332+
db_set_default('vps', 'kloxo_flag', 'off');
333333
db_set_default('vps', 'priv_q_managedns_flag', 'on');
334334
db_set_default('vps', 'priv_q_managereversedns_flag', 'on');
335335
db_set_default('vps', 'priv_q_rebuildvps_flag', 'on');

hypervm/httpdocs/lib/vps/vpsbaselib.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ abstract class vpsbase extends vpsCore {
99
static $__desc_centralbackup_server = array("", "", "central_backup_server");
1010
static $__desc_secondlevelquota_flag = array("q", "", "second_level_quota_(only_for_openvz)");
1111
static $__desc_text_inittab = array("", "", "append_to_inittab");
12-
static $__desc_kloxo_flag = array("f", "", "show_kloxo_buttons");
12+
// static $__desc_kloxo_flag = array("f", "", "show_kloxo_buttons");
1313
static $__desc_text_xen_config = array("", "", "append_to_xen_config");
1414
static $__desc_fixdev_confirm_f = array("f", "", "confirm_fix_dev");
1515
static $__desc_recover_ostemplate = array("", "", "could_not_find_your_ostemplate_please_supply_one");
@@ -294,12 +294,12 @@ function updateform($subaction, $param)
294294
$vlist['rebuild_confirm_f'] = null;
295295
return $vlist;
296296

297-
case "installkloxo":
297+
/* case "installkloxo":
298298
$this->kloxo_type = 'master';
299299
$vlist['rebuild_confirm_f'] = null;
300300
$vlist['__v_button'] = 'Install';
301301
return $vlist;
302-
302+
*/
303303
case "commandcenter":
304304
return $this->commandCenter($param);
305305

@@ -330,7 +330,7 @@ function updateform($subaction, $param)
330330
$vlist['nname'] = array('M', $this->nname);
331331
$vlist['corerootdir'] = array('M', $this->corerootdir);
332332
$vlist['ddate']= array('M', @ date('d-m-Y', $this->ddate));
333-
$vlist['kloxo_flag'] = null;
333+
// $vlist['kloxo_flag'] = null;
334334

335335
if ($login->isAdmin() && $this->isXen()) {
336336
$vlist['nosaveconfig_flag'] = null;

0 commit comments

Comments
 (0)