/[dolibarr]/dolibarr/htdocs/telephonie/lignetel.class.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/lignetel.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.29 by rodolphe, Mon Nov 7 09:12:24 2005 UTC revision 1.30 by rodolphe, Mon Nov 7 10:20:47 2005 UTC
# Line 236  class LigneTel { Line 236  class LigneTel {
236    
237              $this->DefineClientOption();              $this->DefineClientOption();
238    
239                if ($this->techno == 'voip' && $this->id)
240                  {
241                    $sql = "UPDATE ".MAIN_DB_PREFIX."telephonie_societe_ligne";
242                    $sql .= " SET statut = 3, techno='voip'";
243                    $sql .= " WHERE rowid=".$this->id;
244                    $this->db->query($sql);
245                  }
246    
247    
248              return 0;              return 0;
249            }            }
250          else          else

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26