PluginProbe
MLSImport: IDX Plugin & MLS Plugin for Real Estate Listings / 7.2.1
MLSImport: IDX Plugin & MLS Plugin for Real Estate Listings v7.2.1
7.2.1 7.2 7.1.2 7.1.1 7.1 7.0.4 7.0.6 7.0.7 6.3.8 6.3.7 6.3.6 6.3.5 6.3.4 6.3.3 6.3.1 trunk 5.7.3 5.7.5 5.8.1 5.8.2 5.8.3 5.8.4 5.8.6 6.0.4 6.0.5 All 36 releases
← All changes | includes/live/live-cache.php +3 -5 7.0.67.2.1 View file →
@@ -133,15 +133,13 @@
133 133 // Bump the generation salt: every keyed entry now hashes to a new key and
134 134 // is effectively retired (the orphans expire with their day TTL).
135 135 update_option( 'mlsimport_live_cache_version', mlsimport_live_cache_version() + 1 );
136 136
137 - // Fixed-name transients aren't keyed by the salt, so delete them by hand:
138 - // the entitlement flag and price ceiling, plus each swapped provider token.
137 + // Fixed-name shared transients aren't keyed by the salt, so delete them by
138 + // hand. The Provider Family module owns the provider-token list.
139 139 $fixed = array( 'mlsimport_live_entitlement_checked', 'mlsimport_live_price_ceiling' );
140 - foreach ( array( 'trestle', 'realcomp', 'realtorca', 'rapattoni', 'brightmls' ) as $type ) {
141 - $fixed[] = 'mlsimport_live_token_' . $type;
142 - }
143 140 // Delete each — this also evicts it from a persistent object cache.
144 141 foreach ( $fixed as $name ) {
145 142 delete_transient( $name );
146 143 }
144 + Mlsimport_Provider_Family::clear_direct_access_tokens();
147 145 }