mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-12 19:26:35 +09:00
797bc2fd98
git-subtree-dir: includes/lib/action-scheduler git-subtree-split: c828347715e6c3318c8ab8b4fea2d87b31d51aac
26 lines
600 B
PHP
26 lines
600 B
PHP
<?php
|
|
|
|
/**
|
|
* Class ActionScheduler_NullAction
|
|
*/
|
|
class ActionScheduler_NullAction extends ActionScheduler_Action {
|
|
|
|
/**
|
|
* Construct.
|
|
*
|
|
* @param string $hook Action hook.
|
|
* @param mixed[] $args Action arguments.
|
|
* @param null|ActionScheduler_Schedule $schedule Action schedule.
|
|
*/
|
|
public function __construct( $hook = '', array $args = array(), ActionScheduler_Schedule $schedule = NULL ) {
|
|
$this->set_schedule( new ActionScheduler_NullSchedule() );
|
|
}
|
|
|
|
/**
|
|
* Execute action.
|
|
*/
|
|
public function execute() {
|
|
// don't execute.
|
|
}
|
|
}
|