summaryrefslogtreecommitdiffstats
path: root/lib/l10n.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/l10n.php')
-rw-r--r--lib/l10n.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/l10n.php b/lib/l10n.php
index e272bcd79f3..1e07a9b9557 100644
--- a/lib/l10n.php
+++ b/lib/l10n.php
@@ -343,7 +343,7 @@ class OC_L10N{
if(is_dir($dir)) {
$files=scandir($dir);
foreach($files as $file) {
- if(substr($file, -4, 4) == '.php') {
+ if(substr($file, -4, 4) === '.php' && substr($file, 0, 4) !== 'l10n') {
$i = substr($file, 0, -4);
$available[] = $i;
}