aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorkasimi <mail@kasimi.net>2017-04-28 22:20:24 +0200
committerkasimi <mail@kasimi.net>2017-04-28 22:20:24 +0200
commit0082dd8039aa534ae0d6f4f17622a665e82c6942 (patch)
tree99b42b0204da20fe9d0b6398fe0f2a747de9ea6c /phpBB
parent90a80b7b31e94985e53ddccc8a13117c0c4e7fcf (diff)
downloadforums-0082dd8039aa534ae0d6f4f17622a665e82c6942.tar
forums-0082dd8039aa534ae0d6f4f17622a665e82c6942.tar.gz
forums-0082dd8039aa534ae0d6f4f17622a665e82c6942.tar.bz2
forums-0082dd8039aa534ae0d6f4f17622a665e82c6942.tar.xz
forums-0082dd8039aa534ae0d6f4f17622a665e82c6942.zip
[ticket/15187] Reverted commits e6b7def & 90a80b7
PHPBB3-15187
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/extension/manager.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/phpBB/phpbb/extension/manager.php b/phpBB/phpbb/extension/manager.php
index 81e6f57b79..e7e5f83c23 100644
--- a/phpBB/phpbb/extension/manager.php
+++ b/phpBB/phpbb/extension/manager.php
@@ -227,8 +227,6 @@ class manager
if ($active)
{
$this->config->increment('assets_version', 1);
-
- $this->update_template_paths($name);
}
return !$active;
@@ -591,39 +589,4 @@ class manager
}
return $finder;
}
-
- /**
- * Make the template aware of ACP template events of a newly enabled extension
- *
- * @param string $name The extension's name
- * @return null
- */
- protected function update_template_paths($name)
- {
- if (!$this->container->has('template'))
- {
- return;
- }
-
- $possible_paths = array(
- $this->phpbb_root_path . 'ext/' . $name . '/adm/style',
- $this->phpbb_root_path . 'ext/' . $name . '/styles',
- );
-
- $paths = array_filter($possible_paths, 'is_dir');
-
- if ($paths)
- {
- $names = array(
- array(
- 'name' => 'adm',
- 'ext_path' => 'adm/style/',
- ),
- );
-
- $paths[] = $this->phpbb_root_path . 'adm/style';
-
- $this->container->get('template')->set_custom_style($names, $paths);
- }
- }
}