PHP 5.2 compat fix in YammerPlugin (can't call $var::staticFunction() directly until PHP 5.3)
This commit is contained in:
parent
dd3e33ff52
commit
c20cfe2d8e
@ -66,7 +66,8 @@ class YammerImportPlugin extends Plugin
|
|||||||
'Yammer_notice',
|
'Yammer_notice',
|
||||||
'Yammer_notice_stub');
|
'Yammer_notice_stub');
|
||||||
foreach ($tables as $table) {
|
foreach ($tables as $table) {
|
||||||
$schema->ensureTable(strtolower($table), $table::schemaDef());
|
$schemaDef = call_user_func(array($table, 'schemaDef'));
|
||||||
|
$schema->ensureTable(strtolower($table), $schemaDef);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user