summaryrefslogtreecommitdiffstats
path: root/apps/tasks/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tasks/index.php')
-rw-r--r--apps/tasks/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tasks/index.php b/apps/tasks/index.php
index 160fb5a2697..8ed5f410434 100644
--- a/apps/tasks/index.php
+++ b/apps/tasks/index.php
@@ -13,7 +13,7 @@ OCP\App::checkAppEnabled('tasks');
$calendars = OC_Calendar_Calendar::allCalendars(OCP\User::getUser(), true);
if( count($calendars) == 0 ) {
- header('Location: ' . OC_Helper::linkTo('calendar', 'index.php'));
+ header('Location: ' . OCP\Util::linkTo('calendar', 'index.php'));
exit;
}