Correct bookmark app : add through interface and remove missing css

This commit is contained in:
Brice Maron 2012-06-24 21:24:43 +00:00
parent 564cd82599
commit 0fb9d0bf29
2 changed files with 1 additions and 2 deletions

View file

@ -31,5 +31,5 @@ OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('bookmarks');
require_once(OC_App::getAppPath('bookmarks').'/bookmarksHelper.php');
$id = addBookmark($_GET['url'], $_GET['title'], $_GET['tags']);
$id = addBookmark($_POST['url'], $_POST['title'], $_POST['tags']);
OCP\JSON::success(array('data' => $id));

View file

@ -3,7 +3,6 @@
<head>
<meta charset="utf-8">
<title>Read later - ownCloud</title>
<link rel="stylesheet" href="css/readlater.css">
</head>
<body>
<div class="message"><h1>Saved!</h1></div>