You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
542 B
PHTML
17 lines
542 B
PHTML
6 years ago
|
<?php
|
||
|
|
||
|
namespace v330\CalendarImprovements;
|
||
|
|
||
|
|
||
|
class AddShowStartTimeSetting extends \AbstractUpdatableMigration {
|
||
|
|
||
|
function innerUp($hesk_settings) {
|
||
|
$this->executeQuery("INSERT INTO `" . hesk_dbEscape($hesk_settings['db_pfix']) . "settings` (`Key`, `Value`)
|
||
|
VALUES ('calendar_show_start_time', 'true')");
|
||
|
}
|
||
|
|
||
|
function innerDown($hesk_settings) {
|
||
|
$this->executeQuery("DELETE FROM `" . hesk_dbEscape($hesk_settings['db_pfix']) . "settings`
|
||
|
WHERE `Key` = 'calendar_show_start_time'");
|
||
|
}
|
||
|
}
|