19 declare(strict_types=1);
46 if (!$this->
database->tableExists(
'il_adn_notifications') ||
47 $this->
database->tableColumnExists(
'il_adn_notifications',
'has_language_limitation')
52 'il_adn_notifications',
53 'has_language_limitation',
62 UPDATE il_adn_notifications SET has_language_limitation = 0; 65 if ($this->
database->tableColumnExists(
'il_adn_notifications',
'limited_to_languages')
70 'il_adn_notifications',
71 'limited_to_languages',
80 UPDATE il_adn_notifications SET limited_to_languages = "[]"; 94 throw new LogicException(self::class .
'::prepare() must be called before db-update-steps execution.');
abortIfNotPrepared()
Halts the execution of these update steps if no database was provided.
step_1()
Adds a new table column called 'has_language_limitation' which is used to define whether a notificati...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
prepare(ilDBInterface $db)