Skip to content
Snippets Groups Projects
Commit fa43eddd authored by lucha's avatar lucha Committed by agata
Browse files

Patched Disable Updates to run checks during cron jobs

parent 7695fa80
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment