forked from Cavemanon/cavepaintings
and make the extensions match
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1003 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
class BBCode extends Extension {
|
||||
public function receive_event($event) {
|
||||
class BBCode implements Extension {
|
||||
public function receive_event(Event $event) {
|
||||
if($event instanceof TextFormattingEvent) {
|
||||
$event->formatted = $this->bbcode_to_html($event->formatted);
|
||||
$event->stripped = $this->bbcode_to_text($event->stripped);
|
||||
|
Reference in New Issue
Block a user