PropertyModifierHook: fix default name string
This commit is contained in:
parent
b07a3e724c
commit
d8f721081e
|
@ -12,7 +12,7 @@ abstract class PropertyModifierHook
|
|||
public function getName()
|
||||
{
|
||||
$parts = explode('\\', get_class($this));
|
||||
$class = preg_replace('/ImportRowModifier/', '', array_pop($parts)); // right?
|
||||
$class = preg_replace('/^PropertyModifier/', '', array_pop($parts)); // right?
|
||||
|
||||
if (array_shift($parts) === 'Icinga' && array_shift($parts) === 'Module') {
|
||||
$module = array_shift($parts);
|
||||
|
|
Loading…
Reference in New Issue