summaryrefslogtreecommitdiffstats
path: root/apps/admin_dependencies_chk
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-04-14 16:44:15 +0200
committerRobin Appelman <icewind@owncloud.com>2012-04-14 16:44:15 +0200
commitb1bcc60d83866627b1b28a0eda336e0f246dbe8e (patch)
treea7100fbd8425e90c8b90888bc16a15349519038a /apps/admin_dependencies_chk
parent721311c9099780ecc22b6b186ed79dc5c9c92271 (diff)
downloadnextcloud-server-b1bcc60d83866627b1b28a0eda336e0f246dbe8e.tar.gz
nextcloud-server-b1bcc60d83866627b1b28a0eda336e0f246dbe8e.zip
reuse OC_L10N objects
Diffstat (limited to 'apps/admin_dependencies_chk')
-rw-r--r--apps/admin_dependencies_chk/appinfo/app.php2
-rw-r--r--apps/admin_dependencies_chk/settings.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/admin_dependencies_chk/appinfo/app.php b/apps/admin_dependencies_chk/appinfo/app.php
index e2169b5dd77..f282b103c87 100644
--- a/apps/admin_dependencies_chk/appinfo/app.php
+++ b/apps/admin_dependencies_chk/appinfo/app.php
@@ -1,5 +1,5 @@
<?php
-$l=new OC_L10N('admin_dependencies_chk');
+$l=OC_L10N::get('admin_dependencies_chk');
OC_App::register( array(
'order' => 14,
diff --git a/apps/admin_dependencies_chk/settings.php b/apps/admin_dependencies_chk/settings.php
index ce90dd604ca..ea1ce9fb3dc 100644
--- a/apps/admin_dependencies_chk/settings.php
+++ b/apps/admin_dependencies_chk/settings.php
@@ -20,7 +20,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
-$l=new OC_L10N('admin_dependencies_chk');
+$l=OC_L10N::get('admin_dependencies_chk');
$tmpl = new OC_Template( 'admin_dependencies_chk', 'settings');
$modules = array();