Skip to content

Commit c1e6a69

Browse files
committed
BE+FE: legacy sync endpoint removal - see release notes
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
1 parent 3587169 commit c1e6a69

3 files changed

Lines changed: 0 additions & 107 deletions

File tree

front/php/components/graph_online_history.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,8 @@ function initOnlineHistoryGraph() {
2727
var archivedCounts = [];
2828

2929
res.data.forEach(function(entry) {
30-
console.log(entry.Scan_Date);
3130

32-
// var dateObj = new Date(entry.Scan_Date);
3331
var formattedTime = localizeTimestamp(entry.Scan_Date).slice(11, 17);
34-
// dateObj.toLocaleTimeString([], {hour: '2-digit', minute: '2-digit', hour12: false});
3532

3633
timeStamps.push(formattedTime);
3734
onlineCounts.push(entry.Online_Devices);

front/plugins/sync/hub.php

Lines changed: 0 additions & 103 deletions
This file was deleted.

front/plugins/sync/sync.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ def main():
269269
# Data retrieval methods
270270
api_endpoints = [
271271
"/sync", # New Python-based endpoint
272-
"/plugins/sync/hub.php" # Legacy PHP endpoint
273272
]
274273

275274

0 commit comments

Comments
 (0)