From 69dce35307ada45e715aafc6c8cc0c56f168d78c Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Sun, 4 Nov 2007 19:22:58 +0000 Subject: [PATCH] list-virtual.php: remove unnecessary todo git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@190 a1433add-5e2c-0410-b055-b7f2511e0802 --- list-virtual.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/list-virtual.php b/list-virtual.php index 4cfb6e02..41ed0554 100644 --- a/list-virtual.php +++ b/list-virtual.php @@ -64,9 +64,6 @@ if (count($list_domains) == 0) { if ((is_array ($list_domains) and sizeof ($list_domains) > 0)) if (empty ($fDomain)) $fDomain = $list_domains[0]; - -if ((is_array ($list_domains) and sizeof ($list_domains) > 0)) if (empty ($fDomain)) $fDomain = $list_domains[1]; # TODO: should never happen?!? ($fDomain should already be filled by the line above) - if (!check_owner(authentication_get_username(), $fDomain)) { # die($PALANG['invalid_parameter']); header("Location: list-domain.php"); # domain not owned by this admin