Changeset 887 for trunk/Packages/Common/AppModule.php
- Timestamp:
- Dec 27, 2022, 2:34:03 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/AppModule.php
r880 r887 392 392 } 393 393 394 function LoadModules() 395 { 396 if ( method_exists($this->OnLoadModules[0], $this->OnLoadModules[1]))397 $this->OnLoadModules();394 function LoadModules(): void 395 { 396 if (is_array($this->OnLoadModules) and (count($this->OnLoadModules) == 2) and method_exists($this->OnLoadModules[0], $this->OnLoadModules[1])) 397 call_user_func($this->OnLoadModules); 398 398 else $this->LoadModulesFromDir($this->ModulesDir); 399 399 }
Note:
See TracChangeset
for help on using the changeset viewer.