aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/extension/manager.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/phpBB/includes/extension/manager.php b/phpBB/includes/extension/manager.php
index b7f76d0400..b8643b39ee 100644
--- a/phpBB/includes/extension/manager.php
+++ b/phpBB/includes/extension/manager.php
@@ -61,7 +61,7 @@ class phpbb_extension_manager
*
* @return null
*/
- protected function load_extensions()
+ public function load_extensions()
{
$sql = 'SELECT *
FROM ' . $this->extension_table;
@@ -173,6 +173,8 @@ class phpbb_extension_manager
$this->db->sql_query($sql);
}
+ $this->cache->destroy($this->cache_name);
+
return !$active;
}
@@ -231,6 +233,8 @@ class phpbb_extension_manager
WHERE ext_name = '" . $this->db->sql_escape($name) . "'";
$this->db->sql_query($sql);
+ $this->cache->destroy($this->cache_name);
+
return true;
}
@@ -246,6 +250,8 @@ class phpbb_extension_manager
WHERE ext_name = '" . $this->db->sql_escape($name) . "'";
$this->db->sql_query($sql);
+ $this->cache->destroy($this->cache_name);
+
return false;
}
@@ -310,6 +316,8 @@ class phpbb_extension_manager
WHERE ext_name = '" . $this->db->sql_escape($name) . "'";
$this->db->sql_query($sql);
+ $this->cache->destroy($this->cache_name);
+
return true;
}
@@ -319,6 +327,8 @@ class phpbb_extension_manager
WHERE ext_name = '" . $this->db->sql_escape($name) . "'";
$this->db->sql_query($sql);
+ $this->cache->destroy($this->cache_name);
+
return false;
}