mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-23 06:48:41 +00:00
call methods as methods and not as static functions
This commit is contained in:
parent
7646f8a909
commit
010b63b438
|
|
@ -782,8 +782,8 @@ final class ModuleManager
|
|||
try {
|
||||
$obj = new $class($this->app);
|
||||
$this->running[$name] = $obj;
|
||||
self::registerRequesting($obj);
|
||||
self::registerProvided($obj);
|
||||
$this->registerRequesting($obj);
|
||||
$this->registerProvided($obj);
|
||||
} catch (\Throwable $e) {
|
||||
$this->running[$name] = new NullModule();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user