diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-05-04 17:19:25 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-05-04 17:19:25 +0200 |
commit | 439467746a64ae3efbe85c08f29e14c823e4a0dc (patch) | |
tree | a094f5483e9792e9c8c129bf21be8f9e54067e92 /apps/tasks/ajax/edittaskform.php | |
parent | 1e471562268ff62c59708b724c22930bc1d01d95 (diff) | |
download | nextcloud-server-439467746a64ae3efbe85c08f29e14c823e4a0dc.tar.gz nextcloud-server-439467746a64ae3efbe85c08f29e14c823e4a0dc.zip |
Tasks: Update to new public API
Diffstat (limited to 'apps/tasks/ajax/edittaskform.php')
-rw-r--r-- | apps/tasks/ajax/edittaskform.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/tasks/ajax/edittaskform.php b/apps/tasks/ajax/edittaskform.php index 42a4bfead8d..d5d6c23eb4f 100644 --- a/apps/tasks/ajax/edittaskform.php +++ b/apps/tasks/ajax/edittaskform.php @@ -2,8 +2,8 @@ // Init owncloud require_once('../../../lib/base.php'); -OC_JSON::checkLoggedIn(); -OC_JSON::checkAppEnabled('tasks'); +OCP\JSON::checkLoggedIn(); +OCP\JSON::checkAppEnabled('tasks'); $id = $_GET['id']; $details = OC_Calendar_App::getVCalendar($id)->VTODO; @@ -22,4 +22,4 @@ $tmpl->assign('details',$details); $tmpl->assign('categories', $categories); $page = $tmpl->fetchPage(); -OC_JSON::success(array('data' => array( 'page' => $page ))); +OCP\JSON::success(array('data' => array( 'page' => $page ))); |