mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #5369 from Elsensee/ticket/15544
[ticket/15544] Delete cache through module manager
This commit is contained in:
commit
001f32da95
1 changed files with 2 additions and 2 deletions
|
@ -341,7 +341,7 @@ class module implements \phpbb\db\migration\tool\tool_interface
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear the Modules Cache
|
// 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->module_manager->delete_module($module_id, $class);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->cache->destroy("_modules_$class");
|
$this->module_manager->remove_cache_file($class);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue