From b933b9186c02742dd58d3891a3fbd2127a23f8a3 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Fri, 17 Aug 2007 14:55:27 +0000 Subject: [PATCH] functions.inc.php: remove dead code - active and backupmx are not selected by the query, so are not present in the results, and therefore cause php errors as they are not present in the array git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@20 a1433add-5e2c-0410-b055-b7f2511e0802 --- functions.inc.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/functions.inc.php b/functions.inc.php index 5598cc01..c5999e4d 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -605,11 +605,6 @@ function list_domains_for_admin ($username) $i = 0; while ($row = db_array ($result['result'])) { - if ('pgsql'==$CONF['database_type']) - { - $row['active'] = ('t'==$row['active'] ? 1 : 0); - $row['backupmx'] = ('t'==$row['backupmx'] ? 1 : 0); - } $list[$i] = $row['domain']; $i++; }