summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks/ajax/addBookmark.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/bookmarks/ajax/addBookmark.php')
-rw-r--r--apps/bookmarks/ajax/addBookmark.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/bookmarks/ajax/addBookmark.php b/apps/bookmarks/ajax/addBookmark.php
index 483716405a1..c8a64d531c9 100644
--- a/apps/bookmarks/ajax/addBookmark.php
+++ b/apps/bookmarks/ajax/addBookmark.php
@@ -21,11 +21,6 @@
*
*/
-//no apps or filesystem
-$RUNTIME_NOSETUPFS=true;
-
-
-
// Check if we are a user
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
@@ -34,4 +29,4 @@ OCP\JSON::checkAppEnabled('bookmarks');
require_once(OC_App::getAppPath('bookmarks').'/bookmarksHelper.php');
$id = addBookmark($_POST['url'], $_POST['title'], $_POST['tags']);
-OCP\JSON::success(array('data' => $id)); \ No newline at end of file
+OCP\JSON::success(array('data' => $id));