Remove some unused globals and/or their docs.

See ##33491.


git-svn-id: https://develop.svn.wordpress.org/trunk@34446 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-09-22 20:26:17 +00:00
parent e2ce2d90fd
commit d416922cbf
7 changed files with 3 additions and 12 deletions

View File

@@ -5406,12 +5406,11 @@ function update_post_cache( &$posts ) {
* @since 2.0.0
*
* @global bool $_wp_suspend_cache_invalidation
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param int|WP_Post $post Post ID or post object to remove from the cache.
*/
function clean_post_cache( $post ) {
global $_wp_suspend_cache_invalidation, $wpdb;
global $_wp_suspend_cache_invalidation;
if ( ! empty( $_wp_suspend_cache_invalidation ) )
return;