Ignore:
Timestamp:
Apr 6, 2020, 11:56:19 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Do not use parenthesis around returned value.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/API/API.php

    r873 r874  
    7272      else $Output = 'Unsupported action';
    7373
    74     return ($Output);
     74    return $Output;
    7575  }
    7676
     
    7979    if (($Table != '') and (array_key_exists($Table, $this->System->FormManager->Classes)))
    8080      $FormClass = $this->System->FormManager->Classes[$Table];
    81       else return ('Table not found');
     81      else return 'Table not found';
    8282
    8383    if (array_key_exists('SQL', $FormClass))
     
    102102      else if ($this->DataFormat == 'json') $Output = json_encode($Result);
    103103      else die('Unknown data format '.$this->DataFormat);
    104     return ($Output);
     104    return $Output;
    105105  }
    106106
Note: See TracChangeset for help on using the changeset viewer.