aboutsummaryrefslogtreecommitdiffstats
path: root/tests/console/cron/tasks/simple.php
blob: 15194caaf7f958d407d74dbd120a6da6512435fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

class phpbb_cron_task_simple extends \phpbb\cron\task\base
{
	public $executed;

	public function __construct()
	{
		$executed = false;
		parent::__construct();
	}

	public function get_name()
	{
		return get_class($this);
	}

	public function run()
	{
		$this->executed = true;
	}
}