public/wordpress/wp-content/plugins/backupbuddy/classes/core.php
/* unschedule_event()
	 *
	 * API to wp_unschedule_event() that also verifies that the schedule actually got removed WordPRess.
	 * Sometimes the database rejects this update so we need to do actual verification.
	 *
	 * @return	boolean			True on verified schedule deletion success, else false.
	 */
unschedule_event()
API to wp_unschedule_event() that also verifies that the schedule actually got removed WordPRess.
Sometimes the database rejects this update so we need to do actual verification.

@return      boolean                 True on verified schedule deletion success, else false.
unschedule_event () API to wp_unschedule_event () that also verifies that the schedule actually got removed WordPRess . Sometimes the database rejects this update so we need to do actual verification . @return boolean True on verified schedule deletion success else false .
public static function unschedule_event( $time, $tag, $args ) {
		$unschedule_result = wp_unschedule_event( $time, $tag, $args );
		$next_scheduled = wp_next_scheduled( $tag, $args );
		if ( FALSE === $unschedule_result ) {
			pb_backupbuddy::status( 'warning', 'Warning: Unable to remove schedule for tag `' . $tag . '` as wp_unschedule_event() returned false. A plugin may have prevented it or it is already unscheduled. This may not be a problem.' );
			return false;
		}
		if ( FALSE !== $next_scheduled ) {
			pb_backupbuddy::status( 'error', 'WordPress reported success unscheduling BUT wp_next_scheduled() confirmed schedule existance of tag `' . $tag . '`. The database may have rejected the removal.' );
			return false;
		}
		return true;
	}
public static function unschedule_event ( $ time , $ tag , $ args ) { $ unschedule_result = wp_unschedule_event ( $ time , $ tag , $ args ) ; $ next_scheduled = wp_next_scheduled ( $ tag , $ args ) ; if ( FALSE === $ unschedule_result ) { pb_backupbuddy :: status ( 'warning' , 'Warning: Unable to remove schedule for tag `' . $ tag . '` as wp_unschedule_event() returned false. A plugin may have prevented it or it is already unscheduled. This may not be a problem.' ) ; return false ; } if ( FALSE !== $ next_scheduled ) { pb_backupbuddy :: status ( 'error' , 'WordPress reported success unscheduling BUT wp_next_scheduled() confirmed schedule existance of tag `' . $ tag . '`. The database may have rejected the removal.' ) ; return false ; } return true ; }
unschedule_event()
 API to wp_unschedule_event() that also verifies that the schedule actually got removed WordPRess.
unschedule_event () API to wp_unschedule_event () that also verifies that the schedule actually got removed WordPRess .