summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorars <asav1410@gmail.com>2020-10-06 20:48:18 +0100
committerars <asav1410@gmail.com>2020-10-06 20:48:18 +0100
commit15769149ee4b12f69543c78045c6ca2a372a18a1 (patch)
treedb19dd2dc5ce7f69fd41ad2d1f3618b614037648
parent7a3739335692eddcbc84685d8047ccc319ce19f0 (diff)
Remove unused debugging function
-rw-r--r--index.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/index.php b/index.php
index d0103da..1fed29c 100644
--- a/index.php
+++ b/index.php
@@ -23,14 +23,6 @@ tr:nth-child(even) {background-color: #f2f2f2;}
<?php
-function debug_to_console($data) {
- $output = $data;
- if (is_array($output))
- $output = implode(',', $output);
-
- echo "<script>console.log('Debug Objects: " . $output . "' );</script>";
-}
-
ini_set('display_errors', 1);
error_reporting(~0);
@@ -161,7 +153,6 @@ else {
foreach ($servUpdates as $update) {
echo $update['content'] . '- <b>Affected Routes: </b>' . implode(", ",$update['services']) . '<br><br>';
}
- // TODO: sort routes to print in alphanumerical order
foreach ($routes as $route) {
echo '<h4><a href="index.php?route=' . $route['service_number'] . '">' . $route['service_number'] . ' - ' . $route['service_name'] . '</a></h4>';
}