From ab2bcff2d4bba317317e9e8fae071c840add63c7 Mon Sep 17 00:00:00 2001
From: Peter Wu
Date: Sun, 14 Dec 2014 01:07:14 +0100
Subject: Revert "make detail page accessible when using "canvas" graph_type"
This reverts commit 82d88098f4203cf7402d4faf5ad100cada70efaf.
Breaks async rendering, see
https://github.com/pommi/CGP/issues/106#issuecomment-66896905
---
inc/html.inc.php | 8 --------
1 file changed, 8 deletions(-)
(limited to 'inc/html.inc.php')
diff --git a/inc/html.inc.php b/inc/html.inc.php
index 7bc1852..2d745ec 100644
--- a/inc/html.inc.php
+++ b/inc/html.inc.php
@@ -360,15 +360,7 @@ function graphs_from_plugin($host, $plugin, $overview=false) {
isset($items['t']) ? $_GET['t'] = $items['t'] : $_GET['t'] = '';
isset($items['ti']) ? $_GET['ti'] = $items['ti'] : $_GET['ti'] = '';
$_GET['s'] = $time;
- $uuid = generate_uuid();
- printf('';
- printf(''."\n",
- htmlentities($CONFIG['weburl']),
- htmlentities(build_url('detail.php', $items, $time)),
- $uuid
- );
} else {
printf(''."\n",
htmlentities($CONFIG['weburl']),
--
cgit v1.1