From: hickert Date: Mon, 27 Oct 2008 13:29:43 +0000 (+0000) Subject: Updated gohpone account. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=25e66d86f62fb9d5355c3a65053c07408667fbda;p=gosa.git Updated gohpone account. -Save sip user information also if hardware is automatic git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@12783 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc index 3acd47d61..95dee9728 100644 --- a/plugins/gofon/phoneaccount/class_phoneAccount.inc +++ b/plugins/gofon/phoneaccount/class_phoneAccount.inc @@ -801,13 +801,11 @@ class phoneAccount extends plugin } // Perform queries ... - if($this->goFonHardware != "automatic"){ - foreach($SQL_query_array as $query){ - @DEBUG (DEBUG_MYSQL, __LINE__, __FUNCTION__, __FILE__,$query, "Database query"); - if(!@mysql_query($query,$new_connection)){ - print_red(_("Error while performing query:")." ".mysql_error()); - return false; - } + foreach($SQL_query_array as $query){ + @DEBUG (DEBUG_MYSQL, __LINE__, __FUNCTION__, __FILE__,$query, "Database query"); + if(!@mysql_query($query,$new_connection)){ + print_red(_("Error while performing query:")." ".mysql_error()); + return false; } } }