Add setting to highlight all ticket rows based on priority
parent
1978948f4a
commit
c4f080184c
@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace v330;
|
||||||
|
|
||||||
|
class AddHighlightTicketRowsSetting extends \AbstractUpdatableMigration {
|
||||||
|
|
||||||
|
function innerUp($hesk_settings) {
|
||||||
|
$this->executeQuery("INSERT INTO `" . hesk_dbEscape($hesk_settings['db_pfix']) . "settings` (`Key`, `Value`)
|
||||||
|
VALUES ('highlight_ticket_rows_based_on_priority', '0')");
|
||||||
|
}
|
||||||
|
|
||||||
|
function innerDown($hesk_settings) {
|
||||||
|
$this->executeQuery("DELETE FROM `" . hesk_dbEscape($hesk_settings['db_pfix']) . "settings`
|
||||||
|
WHERE `Key` = 'highlight_ticket_rows_based_on_priority'");
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue