static function call fix

This commit is contained in:
Garvin Hicking 2013-05-10 10:59:16 +02:00
parent a642b8e980
commit 9e21e2c30d
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
0.9:
----
Changed static call to proper $this
0.7:
----

View file

@ -25,7 +25,7 @@ class serendipity_event_regexpmarkup extends serendipity_event
$propbag->add('description', PLUGIN_EVENT_REGEXPMARKUP_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Rob Antonishen');
$propbag->add('version', '0.8');
$propbag->add('version', '0.9');
$propbag->add('requirements', array(
'serendipity' => '0.8',
'smarty' => '2.6.7',
@ -98,7 +98,7 @@ class serendipity_event_regexpmarkup extends serendipity_event
!$eventData['properties']['ep_disable_markup_' . $this->instance] &&
!isset($serendipity['POST']['properties']['disable_markup_' . $this->instance])) {
$element = $temp['element'];
serendipity_event_regexpmarkup::markup($eventData[$element]);
$this->markup($eventData[$element]);
}
}
return true;