From: <nk...@us...> - 2009-05-16 17:05:57
|
Revision: 18853 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=18853&view=rev Author: nkoth Date: 2009-05-16 17:05:51 +0000 (Sat, 16 May 2009) Log Message: ----------- [FIX] plugin help not refreshed on plugin on/off changes Modified Paths: -------------- branches/3.0/tiki-admin_include_textarea.php Modified: branches/3.0/tiki-admin_include_textarea.php =================================================================== --- branches/3.0/tiki-admin_include_textarea.php 2009-05-16 13:46:29 UTC (rev 18852) +++ branches/3.0/tiki-admin_include_textarea.php 2009-05-16 17:05:51 UTC (rev 18853) @@ -82,9 +82,21 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' ) { global $cachelib; require_once("lib/cache/cachelib.php"); + $areanames = array( + 'editwiki', + 'editpost', + 'editpost2', + 'blogedit', + 'faqans', + 'body', + 'description', + 'trackerDescription' + ); foreach ($tikilib->list_languages() as $tlang) { - $cachetag = 'plugindesc' . $tlang['value']; - $cachelib->invalidate($cachetag); + foreach ($areanames as $an) { + $cachetag = 'plugindesc' . $tlang['value'] . $an; + $cachelib->invalidate($cachetag); + } } if( isset( $_POST['enable'] ) ) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |