Skip to content
Browse files

Merge pull request #1 from skurrilo/patch-1

Fix Problem with multiple wp-schedule entrys of clean_cache_event
  • Loading branch information...
2 parents ed32c53 + 2863035 commit 8a3ed0fcfc85f94e06642c8c58c3a104f1b25634 @ivankristianto committed Jul 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 db-cache-reloaded.php
View
2 db-cache-reloaded.php
@@ -151,7 +151,7 @@ function DBCacheReloaded() {
function init() {
load_plugin_textdomain( 'db-cache-reloaded', false, dirname( plugin_basename( __FILE__ ) ).'/lang' );
- if ( !wp_next_scheduled('wp_update_plugins') && !defined('WP_INSTALLING') )
+ if ( !wp_next_scheduled('clean_cache_event') && !defined('WP_INSTALLING') )
wp_schedule_event(time(), 'hourly', 'clean_cache_event');
// 2nd check
global $wpdb;

0 comments on commit 8a3ed0f

Please sign in to comment.
Something went wrong with that request. Please try again.