| @@ -7,15 +7,10 @@ | ||
| 7 | 7 | * @package MainWP/Updates_Check |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | 10 | // include cron/bootstrap.php. |
| 11 | -require_once 'bootstrap.php'; // NOSONAR - WP compatible. | |
| 11 | +require_once 'bootstrap.php'; | |
| 12 | 12 | |
| 13 | -// Exit if accessed directly. | |
| 14 | -if ( ! defined( 'ABSPATH' ) ) { | |
| 15 | - exit; | |
| 16 | -} | |
| 17 | - | |
| 18 | 13 | if ( isset( $mainWP ) ) { |
| 19 | - // fire off mainWP->mainwp_cronupdatescheck_action. | |
| 20 | - $mainWP->mainwp_cronupdatescheck_action(); | |
| 14 | + // fire off mainWP->mainwp_cronupdatescheck_action. | |
| 15 | + $mainWP->mainwp_cronupdatescheck_action(); | |
| 21 | 16 | } |