Changeset 929 for trunk/Packages/Common


Ignore:
Timestamp:
May 11, 2022, 12:14:42 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Removed commended out print_r and echo commands used only for debugging.
Location:
trunk/Packages/Common
Files:
2 edited

Legend:

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

    r912 r929  
    9595    if (($this->ShowSQLQuery == true) or ($this->LogSQLQuery == true)) $QueryStartTime = microtime_float();
    9696    $this->LastQuery = $Query;
    97     //echo('a'.$this->ShowSQLQuery.'<'.$QueryStartTime.', '.microtime_float());
    9897    if (($this->ShowSQLQuery == true) or ($this->LogSQLQuery == true))
    9998    {
     
    203202    $Name = substr($Name, 1);
    204203    $Values = substr($Values, 1);
    205     //echo('REPLACE INTO `'.$this->Prefix.$Table.'` ('.$Name.') VALUES ('.$Values.')<br />');
    206204    $this->query('REPLACE INTO `'.$this->Prefix.$Table.'` ('.$Name.') VALUES('.$Values.')');
    207     //echo($this->error().'<br>');
    208205  }
    209206
     
    234231  public function Transaction(array $Queries): void
    235232  {
    236     //echo('|'."\n");
    237233    $this->PDO->beginTransaction();
    238234    foreach ($Queries as $Query)
    239235    {
    240       //echo('|'.$Query."\n");
    241236      $Statement = $this->PDO->prepare($Query);
    242237      $Statement->execute();
  • trunk/Packages/Common/Locale.php

    r887 r929  
    7575            $Previous = strtolower(substr($Content, strpos($Content, 'T(') - 1, 1));
    7676            $Content = substr($Content, strpos($Content, 'T(') + 2);
    77             $Ord = ord($Previous);
    78             //echo($Ord.',');
     77            $Ord = ord($Previous);           
    7978            if (!(($Ord >= ord('a')) and ($Ord <= ord('z'))))
    8079            {
Note: See TracChangeset for help on using the changeset viewer.