From ebbbaba378bbe174ceb5e76477db89ef647304e5 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 24 Sep 2010 17:22:44 -0700 Subject: Work in progress on getting the frontend Yammer import form going.... --- plugins/YammerImport/YammerImportPlugin.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'plugins/YammerImport/YammerImportPlugin.php') diff --git a/plugins/YammerImport/YammerImportPlugin.php b/plugins/YammerImport/YammerImportPlugin.php index 85eab74c0..bb1e97618 100644 --- a/plugins/YammerImport/YammerImportPlugin.php +++ b/plugins/YammerImport/YammerImportPlugin.php @@ -36,6 +36,8 @@ class YammerImportPlugin extends Plugin { $m->connect('admin/yammer', array('action' => 'yammeradminpanel')); + $m->connect('admin/yammer/auth', + array('action' => 'yammerauth')); return true; } @@ -117,10 +119,14 @@ class YammerImportPlugin extends Plugin case 'sn_yammerclient': case 'yammerimporter': case 'yammerrunner': + case 'yammerauthinitform': + case 'yammerauthverifyform': + case 'yammerprogressform': require_once "$base/lib/$lower.php"; return false; case 'yammeradminpanelaction': - require_once "$base/actions/yammeradminpanel.php"; + $crop = substr($lower, 0, strlen($lower) - strlen('action')); + require_once "$base/actions/$crop.php"; return false; case 'yammer_state': case 'yammer_notice_stub': -- cgit v1.2.3-54-g00ecf