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.

This commit is contained in:
Brion Vibber
2010-09-27 13:34:35 -07:00
parent c2de0a7407
commit 7d51cda25d
5 changed files with 30 additions and 8 deletions

View File

@@ -41,8 +41,7 @@ class YammerQueueHandler extends QueueHandler
if ($runner->iterate()) {
if ($runner->hasWork()) {
// More to do? Shove us back on the queue...
$qm = QueueManager::get();
$qm->enqueue('YammerImport', 'yammer');
$runner->startBackgroundImport();
}
return true;
} else {