summaryrefslogtreecommitdiffstats
path: root/apps/gallery/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gallery/appinfo/app.php')
-rw-r--r--apps/gallery/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/appinfo/app.php b/apps/gallery/appinfo/app.php
index 325c2acf249..b8e7c14fcaf 100644
--- a/apps/gallery/appinfo/app.php
+++ b/apps/gallery/appinfo/app.php
@@ -27,7 +27,7 @@ OC::$CLASSPATH['OC_Gallery_Scanner'] = 'apps/gallery/lib/scanner.php';
OC::$CLASSPATH['OC_Gallery_Sharing'] = 'apps/gallery/lib/sharing.php';
OC::$CLASSPATH['OC_Gallery_Hooks_Handlers'] = 'apps/gallery/lib/hooks_handlers.php';
-$l = new OC_L10N('gallery');
+$l = OC_L10N::get('gallery');
OC_App::register(array(
'order' => 20,