<?php

final class ITSEC_Malware_Scheduling_Settings extends ITSEC_Settings {
	public function get_id() {
		return 'malware-scheduling';
	}

	public function get_defaults() {
		return array(
			'email_notifications' => true,
			'email_contacts'      => array(),
		);
	}

	protected function after_save() {
		require_once( 'class-itsec-malware-scheduling.php' );

		ITSEC_Malware_Scheduling::update_schedule();
	}
}

ITSEC_Modules::register_settings( new ITSEC_Malware_Scheduling_Settings() );
