--- a/plugins/admin/CacheManager.php Mon May 04 23:07:00 2009 -0400
+++ b/plugins/admin/CacheManager.php Tue May 05 00:10:26 2009 -0400
@@ -141,6 +141,13 @@
$success = true;
}
break;
+ case 'wikieditnotice':
+ $cache->purge('wiki_edit_notice');
+ if ( $do_refresh )
+ $template->get_wiki_edit_notice();
+
+ $success = true;
+ break;
case 'all':
$success = purge_all_caches();
if ( $do_refresh )
@@ -164,6 +171,9 @@
if ( !$success )
break;
+ // wiki edit notice
+ $template->get_wiki_edit_notice();
+
// languages
$q = $db->sql_query('SELECT lang_id FROM ' . table_prefix . 'language;');
if ( !$q )
@@ -265,7 +275,7 @@
<?php
$class = 'row2';
- $cache_list = array('page', 'ranks', 'sidebar', 'plugins', 'template', 'aes', 'lang', 'js', 'thumbs');
+ $cache_list = array('page', 'ranks', 'sidebar', 'plugins', 'template', 'aes', 'lang', 'js', 'thumbs', 'wikieditnotice');
$code = $plugins->setHook('acp_cache_manager_list_caches');
foreach ( $code as $cmd )
{