Code

Updated gohpone account.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 27 Oct 2008 13:29:43 +0000 (13:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 27 Oct 2008 13:29:43 +0000 (13:29 +0000)
-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

index 3acd47d61a64d8e0b1baaf23c9614a6125374629..95dee9728b886e315c3e77299a118bb26897ea34 100644 (file)
@@ -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;
         }
       }
     }