diff --git a/api.php b/api.php index ebc6f6e..bfec2e8 100644 --- a/api.php +++ b/api.php @@ -73,7 +73,11 @@ try { AutomationManager::executeAll(); $fallbackManager = new FallbackManager(RANGES); $fallbackManager->check(); +<<<<<<< HEAD //LogKeeper::purge(LOGTIMOUT); +======= + LogKeeper::purge(LOGTIMOUT); +>>>>>>> 15d95dae1d1766044ec10522238bb848dff548c2 } catch (\Exception $e) { $logManager->write("[Automation] Something happen during automation execution", LogRecordType::ERROR); } diff --git a/app/templates/js/script.js b/app/templates/js/script.js index 3df7ca2..b01d0e8 100644 --- a/app/templates/js/script.js +++ b/app/templates/js/script.js @@ -241,7 +241,10 @@ $( '[name="room"]' ).change(function (e) { }); +<<<<<<< HEAD /* +======= +>>>>>>> 15d95dae1d1766044ec10522238bb848dff548c2 var windowLoc = $(location).attr('pathname'); windowLoc = windowLoc.substring(windowLoc.lastIndexOf("/")); console.log(); @@ -277,7 +280,13 @@ if (windowLoc == "/") { }); } },4000); +<<<<<<< HEAD }*/ +======= +} + + +>>>>>>> 15d95dae1d1766044ec10522238bb848dff548c2 diff --git a/app/views/Ajax.php b/app/views/Ajax.php index 7276de2..237cd49 100644 --- a/app/views/Ajax.php +++ b/app/views/Ajax.php @@ -149,6 +149,7 @@ class Ajax extends Template isset($_POST['action']) && $_POST['action'] != '' ) { +<<<<<<< HEAD $updateData = []; $allDevicesData = DeviceManager::getAllDevices(); foreach ($allDevicesData as $deviceKey => $deviceValue) { @@ -216,6 +217,10 @@ class Ajax extends Template //TODO: PRO JS VRACET DATA echo json_encode($updateData, JSON_PRETTY_PRINT); +======= + //TODO: PRO JS VRACET DATA + ECHO 'test'; +>>>>>>> 15d95dae1d1766044ec10522238bb848dff548c2 } } }