We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 68f44dad authored by Evan Prodromou's avatar Evan Prodromou

Add link to delicious bookmark importer to profile settings

parent 48edbb30
......@@ -573,6 +573,21 @@ class BookmarkPlugin extends Plugin
return true;
function onEndProfileSettingsActions($action)
$user = common_current_user();
if (!empty($user) && $user->hasRight(self::IMPORTDELICIOUS)) {
array('href' => common_local_url('importdelicious')),
_('Import del.icio.us bookmarks'));
return true;
static private function _postRemoteBookmark(Ostatus_profile $author, Activity $activity)
$bookmark = $activity->objects[0];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment