Ignore:
Timestamp:
Feb 17, 2021, 12:30:23 PM (4 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

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

    r895 r899  
    100100}
    101101
    102 class ModuleNetwork extends AppModule
     102class ModuleNetwork extends Module
    103103{
    104104  public int $MinNotifyTime;
     
    112112    $this->License = 'GNU/GPLv3';
    113113    $this->Description = 'Networking related tools';
    114     $this->Dependencies = array('Notify', 'IS');
    115 
    116     // TODO: Make notify time configurable
    117     $this->MinNotifyTime = 30; // seconds
    118   }
    119 
    120   function GetModels(): array
    121   {
    122     return array(NetworkDomainAlias::GetClassName(), NetworkDevice::GetClassName(), NetworkDeviceType::GetClassName(),
     114    $this->Dependencies = array(ModuleNotify::GetName(), ModuleIS::GetName());
     115    $this->Models = array(NetworkDomainAlias::GetClassName(), NetworkDevice::GetClassName(), NetworkDeviceType::GetClassName(),
    123116      NetworkDeviceLog::GetClassName(), NetworkInterface::GetClassName(), NetworkInterfaceType::GetClassName(),
    124117      NetworkSubnet::GetClassName(), NetworkPort::GetClassName(), NetworkSpeedLimit::GetClassName(),
     
    128121      NetworkDomainItemFilter::GetClassName(), DeviceAPIType::GetClassName(), NetworkInterfaceWireless::GetClassName(),
    129122      NetworkInterfaceUpDown::GetClassName(), NetworkPortUpDown::GetClassName());
     123
     124    // TODO: Make notify time configurable
     125    $this->MinNotifyTime = 30; // seconds
    130126  }
    131127
Note: See TracChangeset for help on using the changeset viewer.