forked from Cavemanon/cavepaintings
remove regular Extension, have SimpleExtension take its place, optimise the event system based on SimpleExtension methods
This commit is contained in:
@@ -24,7 +24,7 @@ class Emoticons extends FormatterExtension {
|
||||
}
|
||||
}
|
||||
|
||||
class EmoticonList extends SimpleExtension {
|
||||
class EmoticonList extends Extension {
|
||||
public function onPageRequest(PageRequestEvent $event) {
|
||||
if($event->page_matches("emote/list")) {
|
||||
$this->theme->display_emotes(glob("ext/emoticons/default/*"));
|
||||
|
Reference in New Issue
Block a user