aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-10-14 01:31:24 +0200
committerNils Adermann <naderman@naderman.de>2011-10-14 01:31:24 +0200
commitcd522a11f3f40e0429bebb7bd7cfee1b442a83ef (patch)
treebf8662280d3f29705ef43b8d2c6b21f1f9809fdb /phpBB
parent4fb9f2101de8de8dc08ef0a1c44f81c5443f3d7a (diff)
downloadforums-cd522a11f3f40e0429bebb7bd7cfee1b442a83ef.tar
forums-cd522a11f3f40e0429bebb7bd7cfee1b442a83ef.tar.gz
forums-cd522a11f3f40e0429bebb7bd7cfee1b442a83ef.tar.bz2
forums-cd522a11f3f40e0429bebb7bd7cfee1b442a83ef.tar.xz
forums-cd522a11f3f40e0429bebb7bd7cfee1b442a83ef.zip
[feature/extension-manager] Properly remove old ACP language loading code
PHPBB3-10323
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_module.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/phpBB/includes/functions_module.php b/phpBB/includes/functions_module.php
index 946e7d2b8d..e2b2d80b3e 100644
--- a/phpBB/includes/functions_module.php
+++ b/phpBB/includes/functions_module.php
@@ -865,30 +865,6 @@ class p_master
function add_mod_info($module_class)
{
global $user, $phpEx;
-/*
- if (file_exists($user->lang_path . $user->lang_name . '/mods'))
- {
- $add_files = array();
-
- $dir = @opendir($user->lang_path . $user->lang_name . '/mods');
-
- if ($dir)
- {
- while (($entry = readdir($dir)) !== false)
- {
- if (strpos($entry, 'info_' . strtolower($module_class) . '_') === 0 && substr(strrchr($entry, '.'), 1) == $phpEx)
- {
- $add_files[] = 'mods/' . substr(basename($entry), 0, -(strlen($phpEx) + 1));
- }
- }
- closedir($dir);
- }
-
- if (sizeof($add_files))
- {
- $user->add_lang($add_files);
- }
- }*/
global $phpbb_extension_manager;