mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
WR#334284 fixing unit tests
This commit is contained in:
@@ -102,6 +102,15 @@ abstract class clibase {
|
||||
$this->time = $time;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the reference time for creating outages.
|
||||
*/
|
||||
public function get_referencetime()
|
||||
{
|
||||
return $this->time;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generates all options (parameters) available for the CLI command.
|
||||
* @return mixed[] Options.
|
||||
|
||||
Reference in New Issue
Block a user