diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-02-22 20:12:49 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-02-22 20:12:54 +0100 |
commit | 92db4f8be099c32b477bba33412b1d2fc7a04dbc (patch) | |
tree | 31fb3283a3f151a2ecf4c48db9bc73253c386310 /apps/tasks/index.php | |
parent | 7f754c02f3728bf8d71e3e61264504c88e92bdd2 (diff) | |
download | nextcloud-server-92db4f8be099c32b477bba33412b1d2fc7a04dbc.tar.gz nextcloud-server-92db4f8be099c32b477bba33412b1d2fc7a04dbc.zip |
Update edittaskform for new calendar API
Diffstat (limited to 'apps/tasks/index.php')
-rw-r--r-- | apps/tasks/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tasks/index.php b/apps/tasks/index.php index e2f559dfebc..f0e6c2e4ddb 100644 --- a/apps/tasks/index.php +++ b/apps/tasks/index.php @@ -13,8 +13,8 @@ OC_Util::checkLoggedIn(); OC_Util::checkAppEnabled('tasks'); $calendars = OC_Calendar_Calendar::allCalendars(OC_User::getUser(), true); -if( count($calendars) == 0){ - header('Location: ' . OC_HELPER::linkTo('calendar', 'index.php')); +if( count($calendars) == 0 ) { + header('Location: ' . OC_Helper::linkTo('calendar', 'index.php')); exit; } |