Ignore:
Timestamp:
Oct 14, 2017, 12:18:10 AM (7 years ago)
Author:
chronos
Message:
  • Fixed: Insert new network interface signal lines in transaction.
  • Fixed: Correctly get wireless link speed even from new RouterOS versions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/Database.php

    r841 r851  
    202202  {
    203203  }
     204 
     205  public function Transaction($Queries)
     206  {
     207      $this->PDO->beginTransaction();
     208      foreach ($Queries as $Query)
     209      {
     210        $Statement = $this->PDO->prepare($Query);
     211        $Statement->execute();
     212      }         
     213      $this->PDO->commit();
     214  }
    204215}
    205216
Note: See TracChangeset for help on using the changeset viewer.