Suppression de la mise a jour des tarifs lies
This commit is contained in:
parent
cbbd9a9304
commit
81864bf4ac
@ -180,10 +180,6 @@ class TelephonieTarifGrille {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if ($result === 0 )
|
||||
{
|
||||
$this->db->commit();
|
||||
@ -266,14 +262,13 @@ class TelephonieTarifGrille {
|
||||
|
||||
function UpdateTarif($grille_id, $tarif_id, $temporel, $fixe, $user)
|
||||
{
|
||||
|
||||
if ($temporel > 0)
|
||||
{
|
||||
|
||||
$tarifs_linked = array();
|
||||
|
||||
$this->_DBUpdateTarif($grille_id, $tarif_id, $temporel, $fixe, $user);
|
||||
|
||||
// Ci-dessous a reintegrer avec une option de configuration
|
||||
/*
|
||||
$sql = "SELECT rowid FROM ".MAIN_DB_PREFIX."telephonie_tarif";
|
||||
$sql .= " WHERE tlink = ".$tarif_id;
|
||||
|
||||
@ -281,15 +276,14 @@ class TelephonieTarifGrille {
|
||||
|
||||
if ($resql)
|
||||
{
|
||||
$num = $this->db->num_rows($resql);
|
||||
$i = 0;
|
||||
|
||||
while ($i < $num)
|
||||
while ($row = $this->db->fetch_row($resql))
|
||||
{
|
||||
$row = $this->db->fetch_row($resql);
|
||||
$tarifs_linked[$i] = $row[0];
|
||||
$i++;
|
||||
}
|
||||
$this->db->free($resql);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -301,7 +295,7 @@ class TelephonieTarifGrille {
|
||||
{
|
||||
$this->_DBUpdateTarif($grille_id, $tarif, $temporel, $fixe, $user);
|
||||
}
|
||||
|
||||
*/
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user