From d907d066f2e0d7974766370b11dab69a59962f97 Mon Sep 17 00:00:00 2001
From: Meik Sievertsen <acydburn@phpbb.com>
Date: Wed, 15 Mar 2006 13:03:57 +0000
Subject: - adding ability to assign moderator specific ban options - fixing
 destroying of sql caches - fixing referencing of sql cached queries if more
 than one are active on one page - other fixes

git-svn-id: file:///svn/phpbb/trunk@5633 89ea8834-ac86-4346-8a33-228a782c2dd0
---
 phpBB/includes/acp/acp_modules.php | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'phpBB/includes/acp/acp_modules.php')

diff --git a/phpBB/includes/acp/acp_modules.php b/phpBB/includes/acp/acp_modules.php
index 927fed7502..8065080e30 100644
--- a/phpBB/includes/acp/acp_modules.php
+++ b/phpBB/includes/acp/acp_modules.php
@@ -755,6 +755,9 @@ class acp_modules
 		$p_class = str_replace(array('.', '/', '\\'), '', basename($this->module_class));
 		
 		$cache->destroy('_modules_' . $p_class);
+
+		// Additionally remove sql cache
+		$cache->destroy('sql', MODULES_TABLE);
 	}
 
 	/**
-- 
cgit v1.2.1