summaryrefslogtreecommitdiff
path: root/plugins/YammerImport/actions
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-09-27 13:34:35 -0700
committerBrion Vibber <brion@pobox.com>2010-09-28 07:44:25 -0700
commit7d51cda25d7a056ffdf8e7928b4dfa958597067f (patch)
treee40b7b2514ceaf74f078ea16288cb1f7e2ce6565 /plugins/YammerImport/actions
parentc2de0a74072433ad0cc356694a03971e890ebb76 (diff)
Yammer import (work run via background queues) now can be started from the admin panel! :DDDD Still requires that the app be registered on your network manually first.
Diffstat (limited to 'plugins/YammerImport/actions')
-rw-r--r--plugins/YammerImport/actions/yammeradminpanel.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/YammerImport/actions/yammeradminpanel.php b/plugins/YammerImport/actions/yammeradminpanel.php
index fdf7a084f..04ef26d51 100644
--- a/plugins/YammerImport/actions/yammeradminpanel.php
+++ b/plugins/YammerImport/actions/yammeradminpanel.php
@@ -76,6 +76,10 @@ class YammeradminpanelAction extends AdminPanelAction
return $this->showAjaxForm($form);
} else if ($this->verify_token) {
$this->runner->saveAuthToken($this->verify_token);
+
+ // Haho! Now we can make THE FUN HAPPEN
+ $this->runner->startBackgroundImport();
+
$form = new YammerProgressForm($this, $this->runner);
return $this->showAjaxForm($form);
} else {