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

git-svn-id: http://svn.automattic.com/wordpress/trunk@1917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-12-08 00:23:02 +00:00
parent fedf5da324
commit a2b6757246
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.