From 8de90c751c7f7490ad99e7d8df43adae8fe28a8b Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 13 Sep 2005 12:58:29 +0000 Subject: [PATCH] Removed duplicated mysql_close git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1351 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofon/phoneaccount/class_phoneAccount.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc index 5b88dc733..0721be692 100644 --- a/plugins/gofon/phoneaccount/class_phoneAccount.inc +++ b/plugins/gofon/phoneaccount/class_phoneAccount.inc @@ -227,12 +227,9 @@ class phoneAccount extends plugin if((isset($vp[0]))&&(!empty($vp[0]))){ $this->goFonPINVoice = $vp[0]; } - @mysql_close($r_con); } - } - - + @mysql_close($r_con) ; } @@ -522,7 +519,6 @@ class phoneAccount extends plugin foreach($SQL as $query){ if(!@mysql_query($query,$r_con)){ print_red(_("Error while performing query ".mysql_error())); - @mysql_close($r_con); return false; } } -- 2.30.2