Make function static so it can be called without error
This commit is contained in:
parent
cf38a6683a
commit
3a55c8b2e6
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
3.41:
|
||||
-----
|
||||
|
||||
Declare install() method as static
|
||||
|
||||
3.39:
|
||||
----
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ class serendipity_event_freetag extends serendipity_event
|
|||
'smarty' => '2.6.7',
|
||||
'php' => '4.1.0'
|
||||
));
|
||||
$propbag->add('version', '3.40');
|
||||
$propbag->add('version', '3.41');
|
||||
$propbag->add('event_hooks', array(
|
||||
'frontend_fetchentries' => true,
|
||||
'frontend_fetchentry' => true,
|
||||
|
@ -347,7 +347,7 @@ class serendipity_event_freetag extends serendipity_event
|
|||
serendipity_event_freetag::install();
|
||||
}
|
||||
|
||||
function install() {
|
||||
static function install() {
|
||||
global $serendipity;
|
||||
|
||||
if (!serendipity_event_freetag::tableCreated('entrytags')) {
|
||||
|
|
Loading…
Reference in a new issue