]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/YammerImport/actions/yammeradminpanel.php
Yammer import (work run via background queues) now can be started from the admin...
[quix0rs-gnu-social.git] / plugins / YammerImport / actions / yammeradminpanel.php
index fdf7a084f4db0397a1b317e1426e7633b7e92f52..04ef26d512f86cee3c6f1a35a50de4269951c87a 100644 (file)
@@ -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 {