diff options
author | Brice Maron <brice@bmaron.net> | 2012-06-04 20:37:00 +0000 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2012-06-06 20:24:15 +0000 |
commit | 6a812644e4d0f6eed8dca4e20c6f7135d881012a (patch) | |
tree | 546a05ff2314e3127c4b1010e9d8729c5e4e4ee8 /apps/bookmarks | |
parent | 6a250d0d20c92513a883a7103885712127b51cc8 (diff) | |
download | nextcloud-server-6a812644e4d0f6eed8dca4e20c6f7135d881012a.tar.gz nextcloud-server-6a812644e4d0f6eed8dca4e20c6f7135d881012a.zip |
Correct remote and public, and last occurence of OC::
Diffstat (limited to 'apps/bookmarks')
-rw-r--r-- | apps/bookmarks/ajax/addBookmark.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/ajax/addBookmark.php b/apps/bookmarks/ajax/addBookmark.php index 9241dc8ddf6..d66aab58960 100644 --- a/apps/bookmarks/ajax/addBookmark.php +++ b/apps/bookmarks/ajax/addBookmark.php @@ -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));
\ No newline at end of file |