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

Legend:

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

    r894 r899  
    257257}
    258258
    259 class ModuleMap extends AppModule
     259class ModuleMap extends Module
    260260{
    261261  function __construct(System $System)
     
    265265    $this->Version = '1.0';
    266266    $this->Creator = 'Chronos';
    267     $this->License = 'GNU/GPL';
     267    $this->License = 'GNU/GPLv3';
    268268    $this->Description = 'Show objects on Google maps';
    269     $this->Dependencies = array('Network', 'User');
    270     $this->SupportedModels = array();
     269    $this->Dependencies = array(ModuleNetwork::GetName(), ModuleUser::GetName());
     270    $this->Models = array(MapPosition::GetClassName());
    271271  }
    272272
     
    313313    ));
    314314  }
    315 
    316   function GetModels(): array
    317   {
    318     return array(MapPosition::GetClassName());
    319   }
    320315}
    321316
    322317class MapPosition extends Model
    323318{
    324   static function GetDesc(): ModelDesc
     319  static function GetModelDesc(): ModelDesc
    325320  {
    326321    $Desc = new ModelDesc(self::GetClassName());
Note: See TracChangeset for help on using the changeset viewer.