get plugin id from static method
This commit is contained in:
parent
8ef153e354
commit
ffe62800c6
@ -76,8 +76,8 @@ class UsageReporter implements TimerListener {
|
|||||||
|
|
||||||
if(is_array($this->maniaControl->pluginManager->getActivePlugins())) {
|
if(is_array($this->maniaControl->pluginManager->getActivePlugins())) {
|
||||||
foreach($this->maniaControl->pluginManager->getActivePlugins() as $plugin) {
|
foreach($this->maniaControl->pluginManager->getActivePlugins() as $plugin) {
|
||||||
if(!is_null($plugin->getId()) && is_numeric($plugin->getId())) {
|
if(!is_null($plugin::getId()) && is_numeric($plugin::getId())) {
|
||||||
$activePlugins[] = $plugin->getId();
|
$activePlugins[] = $plugin::getId();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user