1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2025-03-21 12:29:14 +01:00

Correct remote and public, and last occurence of OC::

This commit is contained in:
Brice Maron 2012-06-04 20:37:00 +00:00
parent a5998b3d7d
commit e122e02ee1

View File

@ -30,6 +30,6 @@ $RUNTIME_NOSETUPFS=true;
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('bookmarks');
require_once(OC::$APPSROOT . '/apps/bookmarks/bookmarksHelper.php');
require_once(OC_App::getAppPath('bookmarks').'/bookmarksHelper.php');
$id = addBookmark($_GET['url'], $_GET['title'], $_GET['tags']);
OCP\JSON::success(array('data' => $id));