summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/settings/guesstimezone.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/settings/guesstimezone.php')
-rwxr-xr-xapps/calendar/ajax/settings/guesstimezone.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/settings/guesstimezone.php b/apps/calendar/ajax/settings/guesstimezone.php
index d45a70e1ce3..c02b8d10b8d 100755
--- a/apps/calendar/ajax/settings/guesstimezone.php
+++ b/apps/calendar/ajax/settings/guesstimezone.php
@@ -10,7 +10,7 @@ require_once('../../../../lib/base.php');
OC_JSON::checkLoggedIn();
OC_JSON::checkAppEnabled('calendar');
-$l = new OC_L10N('calendar');
+$l = OC_L10N::get('calendar');
$lat = $_GET['lat'];
$lng = $_GET['long'];