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.
15 lines
482 B
PHP
15 lines
482 B
PHP
<?php
|
|
|
|
namespace v260\AddCalendarModule;
|
|
|
|
|
|
class InsertFirstDayOfWeekSetting extends \AbstractMigration {
|
|
|
|
function up($hesk_settings) {
|
|
$this->executeQuery("INSERT INTO `" . hesk_dbEscape($hesk_settings['db_pfix']) . "settings` (`Key`, `Value`) VALUES ('first_day_of_week', '0')");
|
|
}
|
|
|
|
function down($hesk_settings) {
|
|
$this->executeQuery("DELETE FROM `" . hesk_dbEscape($hesk_settings['db_pfix']) . "settings` WHERE `Key` = 'first_day_of_week'");
|
|
}
|
|
} |