summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks/ajax
diff options
context:
space:
mode:
authorGolnaz Nilieh <g382nilieh@gmail.com>2011-09-13 16:10:52 +0430
committerGolnaz Nilieh <g382nilieh@gmail.com>2011-09-13 16:10:52 +0430
commit0ff9bc4806bc9296046057b2eadbf29738346b05 (patch)
tree90e9e119a52d0b0d8cb7ae899c3ae93d9dabb406 /apps/bookmarks/ajax
parent67addb488244621e3d118f2ee1d0165ba95b95ba (diff)
downloadnextcloud-server-0ff9bc4806bc9296046057b2eadbf29738346b05.tar.gz
nextcloud-server-0ff9bc4806bc9296046057b2eadbf29738346b05.zip
Add link and other edit information to newly added bookmarks.
Diffstat (limited to 'apps/bookmarks/ajax')
-rw-r--r--apps/bookmarks/ajax/addBookmark.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/bookmarks/ajax/addBookmark.php b/apps/bookmarks/ajax/addBookmark.php
index 78913f7a132..7cf5baa4a6e 100644
--- a/apps/bookmarks/ajax/addBookmark.php
+++ b/apps/bookmarks/ajax/addBookmark.php
@@ -75,5 +75,7 @@ if($b_id !== false) {
$params = array($b_id, trim($tag));
$query->execute($params);
}
+
+ echo json_encode( array( 'status' => 'success', 'data' => $b_id));
}