diff options
Diffstat (limited to 'settings/ajax/setlanguage.php')
-rw-r--r-- | settings/ajax/setlanguage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/setlanguage.php b/settings/ajax/setlanguage.php index dc1128de2e5..d8d1a860378 100644 --- a/settings/ajax/setlanguage.php +++ b/settings/ajax/setlanguage.php @@ -3,7 +3,7 @@ // Init owncloud require_once('../../lib/base.php'); -$l=new OC_L10N('settings'); +$l=OC_L10N::get('settings'); OC_JSON::checkLoggedIn(); |