1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/11150] Add ACP gallery

PHPBB3-11150
This commit is contained in:
Tristan Darricau
2015-09-13 10:48:30 +02:00
committed by Tristan Darricau
parent c49cd29e96
commit adb8d30d98
8 changed files with 237 additions and 41 deletions

View File

@@ -187,7 +187,7 @@ class manager implements manager_interface
if ($this->available_packages === null)
{
$this->available_packages = $this->cache->get('_composer_' . $this->package_type . '_available');
if ($this->available_packages === false)
if (!$this->available_packages)
{
$this->available_packages = $this->installer->get_available_packages($this->package_type);
$this->cache->put('_composer_' . $this->package_type . '_available', $this->available_packages, 24*60*60);