34 $this->logger->log(sprintf(
'START - Delete all certificate migration jobs for user(user_id: "%s")', $userId));
35 $sql =
'DELETE FROM il_cert_bgtask_migr WHERE usr_id = ' . $this->database->quote($userId,
'integer');
37 $this->database->manipulate($sql);
39 $this->logger->log(sprintf(
'END - Delete all certificate migration jobs for user(user_id: "%s")', $userId));
An exception for terminatinating execution or to throw for unit testing.
__construct(ilDBInterface $database, ilLogger $logger)
deleteFromMigrationJob(int $userId)
Component logger with individual log levels by component id.