-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
41844: Fehlerhafte Darstellung selbst definierter Absatzformate beim …
…'Seite bearbeiten'
- Loading branch information
Showing
2 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
Services/Style/Content/Setup/class.ilStyle9HotfixDBUpdateSteps.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of ILIAS, a powerful learning management system | ||
* published by ILIAS open source e-Learning e.V. | ||
* ILIAS is licensed with the GPL-3.0, | ||
* see https://www.gnu.org/licenses/gpl-3.0.en.html | ||
* You should have received a copy of said license along with the | ||
* source code, too. | ||
* If this is not the case or you just want to try ILIAS, you'll find | ||
* us at: | ||
* https://www.ilias.de | ||
* https://github.com/ILIAS-eLearning | ||
*/ | ||
|
||
namespace ILIAS\Style\Content\Setup; | ||
|
||
class ilStyle9HotfixDBUpdateSteps implements \ilDatabaseUpdateSteps | ||
{ | ||
protected \ilDBInterface $db; | ||
|
||
public function prepare(\ilDBInterface $db): void | ||
{ | ||
$this->db = $db; | ||
} | ||
|
||
public function step_1() | ||
{ | ||
$this->db->update( | ||
"style_data", | ||
[ | ||
"uptodate" => ["integer", 0] | ||
], | ||
[ // where | ||
"uptodate" => ["integer", 1] | ||
] | ||
); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters