Skip to:
Content

bbPress.org

Changeset 6891


Ignore:
Timestamp:
01/28/2019 11:37:16 PM (7 years ago)
Author:
johnjamesjacoby
Message:

Upgrades: remove duplicate wp_cache_flush() call.

From bbp_admin_repair_reply_menu_order(), since repair tools flush the caches anyways, this is not necessary here.

Found during work on #3244.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/tools/repair.php

    r6715 r6891  
    5454                    <?php bbp_admin_repair_list_components_filter(); ?>
    5555
     56                    <input type="submit" name="filter_action" id="components-submit" class="button" value="<?php esc_html_e( 'Filter', 'bbpress' ); ?>">
    5657                </div>
    5758                <br class="clear">
     
    12181219    unset( $replies, $reply );
    12191220
    1220     // Flush the cache; things are about to get ugly.
    1221     wp_cache_flush();
    1222 
    1223     return array( 0, sprintf( $statement, esc_html__( 'Complete!', 'bbpress' ) ) );
    1224 }
     1221    // Complete results
     1222    return array( 0, sprintf( $statement, esc_html__( 'Complete!', 'bbpress' ) ) );
     1223}
Note: See TracChangeset for help on using the changeset viewer.