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
postfixadmin-2.3
David Goodwin 17 years ago
parent 590a89d4e2
commit b933b9186c

@ -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++;
}

Loading…
Cancel
Save