Skip to content

Commit 4e52e11

Browse files
author
Marius Cramer
committed
Merge branch 'master_fixes' into 'master'
Master fixes Fixed problem that broke the updater (wrong name of variable) See merge request !133
2 parents 919c236 + 1ecc750 commit 4e52e11

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

install/dist/lib/debian60.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function configure_dovecot()
3838

3939
// check if virtual_transport must be changed
4040
if ($this->is_update) {
41-
$tmp = $inst->db->queryOneRecord("SELECT * FROM ".$conf["mysql"]["database"].".server WHERE server_id = ".$conf['server_id']);
41+
$tmp = $this->db->queryOneRecord("SELECT * FROM ".$conf["mysql"]["database"].".server WHERE server_id = ".$conf['server_id']);
4242
$ini_array = ini_to_array(stripslashes($tmp['config']));
4343
// ini_array needs not to be checked, because already done in update.php -> updateDbAndIni()
4444

install/dist/lib/fedora.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ public function configure_dovecot()
385385

386386
// check if virtual_transport must be changed
387387
if ($this->is_update) {
388-
$tmp = $inst->db->queryOneRecord("SELECT * FROM ".$conf["mysql"]["database"].".server WHERE server_id = ".$conf['server_id']);
388+
$tmp = $this->db->queryOneRecord("SELECT * FROM ".$conf["mysql"]["database"].".server WHERE server_id = ".$conf['server_id']);
389389
$ini_array = ini_to_array(stripslashes($tmp['config']));
390390
// ini_array needs not to be checked, because already done in update.php -> updateDbAndIni()
391391

install/dist/lib/gentoo.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public function configure_dovecot()
229229

230230
// check if virtual_transport must be changed
231231
if ($this->is_update) {
232-
$tmp = $inst->db->queryOneRecord("SELECT * FROM ".$conf["mysql"]["database"].".server WHERE server_id = ".$conf['server_id']);
232+
$tmp = $this->db->queryOneRecord("SELECT * FROM ".$conf["mysql"]["database"].".server WHERE server_id = ".$conf['server_id']);
233233
$ini_array = ini_to_array(stripslashes($tmp['config']));
234234
// ini_array needs not to be checked, because already done in update.php -> updateDbAndIni()
235235

install/dist/lib/opensuse.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ public function configure_dovecot()
440440

441441
// check if virtual_transport must be changed
442442
if ($this->is_update) {
443-
$tmp = $inst->db->queryOneRecord("SELECT * FROM ".$conf["mysql"]["database"].".server WHERE server_id = ".$conf['server_id']);
443+
$tmp = $this->db->queryOneRecord("SELECT * FROM ".$conf["mysql"]["database"].".server WHERE server_id = ".$conf['server_id']);
444444
$ini_array = ini_to_array(stripslashes($tmp['config']));
445445
// ini_array needs not to be checked, because already done in update.php -> updateDbAndIni()
446446

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ public function configure_dovecot() {
961961

962962
// check if virtual_transport must be changed
963963
if ($this->is_update) {
964-
$tmp = $inst->db->queryOneRecord("SELECT * FROM ".$conf["mysql"]["database"].".server WHERE server_id = ".$conf['server_id']);
964+
$tmp = $this->db->queryOneRecord("SELECT * FROM ".$conf["mysql"]["database"].".server WHERE server_id = ".$conf['server_id']);
965965
$ini_array = ini_to_array(stripslashes($tmp['config']));
966966
// ini_array needs not to be checked, because already done in update.php -> updateDbAndIni()
967967

0 commit comments

Comments
 (0)