From: hickert Date: Mon, 27 Oct 2008 13:52:27 +0000 (+0000) Subject: Updated gohpone account. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c865dae044d250fbaa4f86b20cf233092be53689;p=gosa.git Updated gohpone account. -Save sip user information also if hardware is automatic git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12784 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc index 1094e0280..2d2344397 100644 --- a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc +++ b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc @@ -842,13 +842,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)){ - $this->generate_error = msgPool::dbquery("GOfon",@mysql_error($old_connection)); - return false; - } + foreach($SQL_query_array as $query){ + @DEBUG (DEBUG_MYSQL, __LINE__, __FUNCTION__, __FILE__,$query, "Database query"); + if(!@mysql_query($query,$new_connection)){ + $this->generate_error = msgPool::dbquery("GOfon",@mysql_error($old_connection)); + return false; } } }