| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 48 | public static function eventCoreModulePluginGetPlugins($args) |
||
| 49 | { |
||
| 50 | //Don't run during uninstall, getActiveModule('plugins') won't work. |
||
| 51 | if (\Xoops::getInstance()->getModuleByDirname('plugins')) { |
||
| 52 | $args[0] = Plugins::getInstance()->getHandlerPlugin()->getActiveListenersByCaller($args[1]); |
||
| 53 | } |
||
| 54 | } |
||
| 55 | |||
| 57 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.