Changeset 7632


Ignore:
Timestamp:
12/10/12 13:26:17 (11 years ago)
Author:
cristiano
Message:

Ticket #3209 - Retirado configurações estaticas, comandos desnecessarios do conctactProvider

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zpush/backend/expresso/providers/contactProvider.php

    r7631 r7632  
    387387 
    388388        try { 
    389             $result = pg_query($this->db,"BEGIN;"); 
    390             if ($result == FALSE) throw new Exception(pg_last_error($this->db)); 
     389 
    391390            $result_contact = pg_query($this->db, "select last_update from phpgw_cc_contact where id_contact = " . $id . ";"); 
    392391            if ($result_contact == FALSE) throw new Exception(pg_last_error($this->db)); 
     
    400399                } 
    401400            } 
    402             $result = pg_query($this->db,"COMMIT;"); 
    403             if ($result == FALSE) throw new Exception(pg_last_error($this->db)); 
     401 
    404402        } catch (Exception $e) { 
    405             pg_query($this->db,"ROLLBACK;"); 
    406403            debugLog("exception -> " . $e->getMessage() . " - ARQUIVO: " . $e->getFile() . " - LINHA: " . $e->getLine()); 
    407404        } 
Note: See TracChangeset for help on using the changeset viewer.