Commit fa43eddd authored by lucha's avatar lucha Committed by agata

Patched Disable Updates to run checks during cron jobs

parent 7695fa80
......@@ -59,6 +59,8 @@ class OS_Disable_WordPress_Updates {
* @author scripts@schloebe.de
*/
function __construct() {
if (!defined('AI_CRON_SCRIPT')) {
add_action( 'admin_init', array(&$this, 'admin_init') );
/*
......@@ -130,6 +132,7 @@ class OS_Disable_WordPress_Updates {
add_filter( 'pre_http_request', array($this, 'block_request'), 10, 3 );
}
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment