forked from GNUsocial/gnu-social
Break up delicious import into a queue manager by bookmark
This commit is contained in:
@@ -134,6 +134,7 @@ class BookmarkPlugin extends Plugin
|
||||
return false;
|
||||
case 'BookmarkForm':
|
||||
case 'DeliciousBackupImporter':
|
||||
case 'DeliciousBookmarkImporter':
|
||||
include_once $dir.'/'.strtolower($cls).'.php';
|
||||
return false;
|
||||
default:
|
||||
@@ -286,6 +287,13 @@ class BookmarkPlugin extends Plugin
|
||||
return true;
|
||||
}
|
||||
|
||||
function onEndInitializeQueueManager($qm)
|
||||
{
|
||||
$qm->connect('dlcsback', 'DeliciousBackupImporter');
|
||||
$qm->connect('dlcsbkmk', 'DeliciousBookmarkImporter');
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Plugin version data
|
||||
*
|
||||
|
Reference in New Issue
Block a user