From 19d2b94837f19539c994157150f3f231f840d3f1 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Fri, 4 May 2012 20:20:37 +0200 Subject: Tasks: More updates to public API --- apps/tasks/appinfo/app.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/tasks/appinfo/app.php') diff --git a/apps/tasks/appinfo/app.php b/apps/tasks/appinfo/app.php index 657c56c0401..f346e2aa4c0 100644 --- a/apps/tasks/appinfo/app.php +++ b/apps/tasks/appinfo/app.php @@ -3,14 +3,14 @@ $l=new OC_L10N('tasks'); OC::$CLASSPATH['OC_Calendar_Calendar'] = 'apps/calendar/lib/calendar.php'; OC::$CLASSPATH['OC_Task_App'] = 'apps/tasks/lib/app.php'; -OC_App::register( array( +OCP\App::register( array( 'order' => 11, 'id' => 'tasks', 'name' => 'Tasks' )); -OC_App::addNavigationEntry( array( +OCP\App::addNavigationEntry( array( 'id' => 'tasks_index', 'order' => 11, - 'href' => OC_Helper::linkTo( 'tasks', 'index.php' ), - 'icon' => OC_Helper::imagePath( 'tasks', 'icon.png' ), + 'href' => OCP\Util::linkTo( 'tasks', 'index.php' ), + 'icon' => OCP\Util::imagePath( 'tasks', 'icon.png' ), 'name' => $l->t('Tasks'))); -- cgit v1.2.3