Changeset 935


Ignore:
Timestamp:
May 11, 2022, 10:10:02 PM (2 years ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigLinux/Generators/CheckPorts.php

    r932 r935  
    33class ConfigCheckPorts extends NetworkConfigItem
    44{
    5   function CheckPortStatus($IP, $Port, $Protocol = 'tcp'): int
     5  function CheckPortStatus(string $IP, int $Port, string $Protocol = 'tcp'): int
    66  {
    77    $Timeout = 1;
  • trunk/Modules/NetworkConfigRouterOS/Generators/AddressPortability.php

    r874 r935  
    4242        } else $System->Database->insert('NetworkInterfacePortable', array('NetworkInterface' => $InterfaceId, 'DynamicIP' => $Properties['active-address'], 'Time' => TimeToMysqlDateTime($Properties['expires-after']), 'Update' => 1));
    4343      } else echo('Not registred'."\n");
    44       //print_r($Properties);
    4544    }
    4645  }
  • trunk/Modules/NetworkTopology/topologie-img.php

    r874 r935  
    9090    $DbResult = $Database->query($query);
    9191    $item = $DbResult->fetch_array();
    92     //print_r($item);
    9392    if ($item)
    9493    {
  • trunk/Modules/TimeMeasure/Main.php

    r929 r935  
    253253    $Output .= $PageList['Output'];
    254254   
    255     //ShowPage($Output);
    256     //echo($PrefixMultiplier->Add('-0.000000071112345', 'B'));
     255    //ShowPage($Output);   
    257256    $Output .= '</div>';
    258257    return $Output;
  • trunk/Packages/Common/Mail.php

    r930 r935  
    135135    if ($this->AgentIdent != '') $this->Headers['X-Mailer'] = $this->AgentIdent;
    136136    if ($this->ReplyTo != '') $this->Headers['Reply-To'] = $this->ReplyTo;
    137     if ($this->From != '') 
    138     { 
     137    if ($this->From != '')
     138    {
    139139      $IndexStart = strpos($this->From, '<');
    140140      if ($IndexStart !== false)
Note: See TracChangeset for help on using the changeset viewer.