forked from extern/egroupware
use Etemplate\Widget::registerWidget, not some third class extended from Etemplate\Widget, as that might screw up autoloading if it happes to create a circle
This commit is contained in:
parent
2a1c5f2443
commit
30bcf7edef
@ -33,4 +33,4 @@ class Accountfilter extends Widget\Taglist
|
||||
$this->attrs['type'] = 'select-account';
|
||||
}
|
||||
}
|
||||
Customfilter::registerWidget(__NAMESPACE__.'\\Accountfilter', array('nextmatch-accountfilter'));
|
||||
Widget::registerWidget(__NAMESPACE__.'\\Accountfilter', array('nextmatch-accountfilter'));
|
@ -79,4 +79,4 @@ class Customfilter extends Widget\Transformer
|
||||
$valid = $value ? $value : null;
|
||||
}
|
||||
}
|
||||
Customfilter::registerWidget(__NAMESPACE__.'\\Customfilter', array('nextmatch-customfilter'));
|
||||
Widget::registerWidget(__NAMESPACE__.'\\Customfilter', array('nextmatch-customfilter'));
|
@ -22,4 +22,4 @@ class Filterheader extends Widget\Taglist
|
||||
{
|
||||
}
|
||||
|
||||
Customfilter::registerWidget(__NAMESPACE__.'\\Filterheader', array('nextmatch-filterheader'));
|
||||
Widget::registerWidget(__NAMESPACE__.'\\Filterheader', array('nextmatch-filterheader'));
|
Loading…
Reference in New Issue
Block a user