1<?
php declare(strict_types=1);
26 $this->db =
$DIC[
'ilDB'];
43 $in = $this->db->in(
'usr_id', [ANONYMOUS_USER_ID, SYSTEM_USER_ID],
true,
'integer');
44 $this->db->manipulate(
"UPDATE usr_data SET agree_date = NULL WHERE $in");
46 $this->
settings->set(
'tos_last_reset', time());
if(php_sapi_name() !='cli') $in
An exception for terminatinating execution or to throw for unit testing.
@classDescription Date and time handling
Class ilObjTermsOfService.
__construct($a_id=0, $a_reference=true)
Class ilObject2 This is an intermediate progress of ilObject class.
static setStatus(bool $status)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc