Skip to content

Commit

Permalink
Fix ConfigManager
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Jun 26, 2018
1 parent e28d645 commit 08dddfe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Eccube/Service/PluginService.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ public function postInstall($config, $event, $source)
$generatedFiles = $this->regenerateProxy($plugin, true, $tmpProxyOutputDir);
$this->schemaService->updateSchema($generatedFiles, $tmpProxyOutputDir);

ConfigManager::writePluginConfigCache();
PluginConfigManager::writePluginConfigCache();
} finally {
foreach (glob("${tmpProxyOutputDir}/*") as $f) {
unlink($f);
Expand Down Expand Up @@ -484,7 +484,7 @@ public function callPluginManagerMethod($meta, $method)
public function uninstall(\Eccube\Entity\Plugin $plugin, $force = true)
{
$pluginDir = $this->calcPluginDir($plugin->getCode());
ConfigManager::removePluginConfigCache();
PluginConfigManager::removePluginConfigCache();
$this->cacheUtil->clearCache();
$this->callPluginManagerMethod(Yaml::parse(file_get_contents($pluginDir.'/'.self::CONFIG_YML)), 'disable');
$this->callPluginManagerMethod(Yaml::parse(file_get_contents($pluginDir.'/'.self::CONFIG_YML)), 'uninstall');
Expand All @@ -504,7 +504,7 @@ public function uninstall(\Eccube\Entity\Plugin $plugin, $force = true)
$this->removeAssets($plugin->getCode());
}

ConfigManager::writePluginConfigCache();
PluginConfigManager::writePluginConfigCache();

return true;
}
Expand Down

0 comments on commit 08dddfe

Please sign in to comment.