19 declare(strict_types=1);
34 $this->db->dropTable(
'il_cld_data',
false);
39 $q =
"SELECT obj_id FROM object_data WHERE type = %s";
40 $res = $this->db->queryF(
$q, [
'text'], [
'cld']);
41 while ($row = $this->db->fetchAssoc(
$res)) {
42 $this->db->manipulateF(
'DELETE FROM object_data WHERE id = %s', [
'integer'], [$row[
'obj_id']]);
43 $this->db->manipulateF(
'DELETE FROM object_reference WHERE object_id = %s', [
'integer'], [$row[
'obj_id']]);
prepare(\ilDBInterface $db)
Prepare the execution of the steps.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...