From: hickert Date: Tue, 13 Sep 2005 12:58:29 +0000 (+0000) Subject: Removed duplicated mysql_close X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8de90c751c7f7490ad99e7d8df43adae8fe28a8b;p=gosa.git Removed duplicated mysql_close git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1351 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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; } }