From c865dae044d250fbaa4f86b20cf233092be53689 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 27 Oct 2008 13:52:27 +0000 Subject: [PATCH] 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 --- .../gofon/gofon/phoneaccount/class_phoneAccount.inc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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; } } } -- 2.30.2