Remove call to undefined function clear_smarty_cache(). Bug 424.

git-svn-id: https://develop.svn.wordpress.org/trunk@1917 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-12-08 00:23:02 +00:00
parent f88772008d
commit 017dfb115b
2 changed files with 1 additions and 2 deletions

View File

@ -492,7 +492,6 @@ case 'deletecomment':
} else {
header('Location: '. get_settings('siteurl') .'/wp-admin/edit.php?p='.$p.'&c=1#comments');
}
clear_smarty_cache();
break;

View File

@ -14,7 +14,7 @@ $query_vars = array();
if ((isset($_GET['error']) && $_GET['error'] == '404') ||
((! empty($_SERVER['PATH_INFO'])) &&
('/' != $_SERVER['PATH_INFO']) &&
(false === strpos($_SERVER['PATH_INFO'], $_SERVER['SCRIPT_NAME']))
(false === strpos($_SERVER['PATH_INFO'], $_SERVER['PHP_SELF']))
)) {
// If we match a rewrite rule, this will be cleared.