aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-09-25 13:24:36 +0200
committerMarc Alexander <admin@m-a-styles.de>2018-09-25 13:24:36 +0200
commit001f32da95d4f8697ccc9a6107afc8dc68cbe48e (patch)
tree42333a5e787302394f4ea73233128040235d8a6e /phpBB/phpbb
parent2769ab701a9a1a537454a7490a4aa233b76c70b8 (diff)
parent3d2c1b8f9766bf914755904d685aba1a4665cc26 (diff)
downloadforums-001f32da95d4f8697ccc9a6107afc8dc68cbe48e.tar
forums-001f32da95d4f8697ccc9a6107afc8dc68cbe48e.tar.gz
forums-001f32da95d4f8697ccc9a6107afc8dc68cbe48e.tar.bz2
forums-001f32da95d4f8697ccc9a6107afc8dc68cbe48e.tar.xz
forums-001f32da95d4f8697ccc9a6107afc8dc68cbe48e.zip
Merge pull request #5369 from Elsensee/ticket/15544
[ticket/15544] Delete cache through module manager
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/db/migration/tool/module.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/db/migration/tool/module.php b/phpBB/phpbb/db/migration/tool/module.php
index 3893935723..e5133c8152 100644
--- a/phpBB/phpbb/db/migration/tool/module.php
+++ b/phpBB/phpbb/db/migration/tool/module.php
@@ -341,7 +341,7 @@ class module implements \phpbb\db\migration\tool\tool_interface
}
// Clear the Modules Cache
- $this->cache->destroy("_modules_$class");
+ $this->module_manager->remove_cache_file($class);
}
/**
@@ -425,7 +425,7 @@ class module implements \phpbb\db\migration\tool\tool_interface
$this->module_manager->delete_module($module_id, $class);
}
- $this->cache->destroy("_modules_$class");
+ $this->module_manager->remove_cache_file($class);
}
}