*/
function onRouterInitialized($m)
{
- $m->connect('admin/yammer',
+ $m->connect('panel/yammer',
array('action' => 'yammeradminpanel'));
- $m->connect('admin/yammer/auth',
+ $m->connect('panel/yammer/auth',
array('action' => 'yammerauth'));
return true;
}
'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;