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