diff options
author | Brion Vibber <brion@pobox.com> | 2010-09-28 11:52:19 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-09-28 11:52:19 -0700 |
commit | c20cfe2d8ed519913c524b77428e5fa08949d905 (patch) | |
tree | dcd09fadf58293b01c7235a1c40aa092518e0662 /plugins/YammerImport | |
parent | dd3e33ff5205fb23882ec1219a0f34f1120bf15c (diff) |
PHP 5.2 compat fix in YammerPlugin (can't call $var::staticFunction() directly until PHP 5.3)
Diffstat (limited to 'plugins/YammerImport')
-rw-r--r-- | plugins/YammerImport/YammerImportPlugin.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/YammerImport/YammerImportPlugin.php b/plugins/YammerImport/YammerImportPlugin.php index 98c6ecd0a..2ce5af21b 100644 --- a/plugins/YammerImport/YammerImportPlugin.php +++ b/plugins/YammerImport/YammerImportPlugin.php @@ -66,7 +66,8 @@ class YammerImportPlugin extends Plugin 'Yammer_notice', 'Yammer_notice_stub'); foreach ($tables as $table) { - $schema->ensureTable(strtolower($table), $table::schemaDef()); + $schemaDef = call_user_func(array($table, 'schemaDef')); + $schema->ensureTable(strtolower($table), $schemaDef); } return true; |