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:
parent
a5998b3d7d
commit
e122e02ee1
@ -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));
|
Loading…
x
Reference in New Issue
Block a user