diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-04-14 16:44:15 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-04-14 16:44:15 +0200 |
commit | b1bcc60d83866627b1b28a0eda336e0f246dbe8e (patch) | |
tree | a7100fbd8425e90c8b90888bc16a15349519038a /apps/calendar/ajax/events.php | |
parent | 721311c9099780ecc22b6b186ed79dc5c9c92271 (diff) | |
download | nextcloud-server-b1bcc60d83866627b1b28a0eda336e0f246dbe8e.tar.gz nextcloud-server-b1bcc60d83866627b1b28a0eda336e0f246dbe8e.zip |
reuse OC_L10N objects
Diffstat (limited to 'apps/calendar/ajax/events.php')
-rwxr-xr-x | apps/calendar/ajax/events.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/events.php b/apps/calendar/ajax/events.php index c62f93c540e..d053df2e4c1 100755 --- a/apps/calendar/ajax/events.php +++ b/apps/calendar/ajax/events.php @@ -8,7 +8,7 @@ require_once ('../../../lib/base.php'); require_once('when/When.php'); -$l = new OC_L10N('calendar'); +$l = OC_L10N::get('calendar'); $unnamed = $l->t('unnamed'); function create_return_event($event, $vevent){ $return_event = array(); |