minor fix
This commit is contained in:
parent
e43ee01915
commit
96dfb994e8
|
@ -41,7 +41,7 @@ require_once dirname( __FILE__ ) . "/gcal-import-admin.php";
|
||||||
|
|
||||||
// create custom scheduler from custom option
|
// create custom scheduler from custom option
|
||||||
add_filter( 'cron_schedules', 'gcal_cron_interval' );
|
add_filter( 'cron_schedules', 'gcal_cron_interval' );
|
||||||
|
|
||||||
function gcal_cron_interval( $schedules ) {
|
function gcal_cron_interval( $schedules ) {
|
||||||
$options = get_option('gcal_options');
|
$options = get_option('gcal_options');
|
||||||
$current = ( isset ($options['gcal_timer']) ? $options['gcal_timer'] : 60 ); // default 60 minutes
|
$current = ( isset ($options['gcal_timer']) ? $options['gcal_timer'] : 60 ); // default 60 minutes
|
||||||
|
|
Reference in a new issue