aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/functions.inc.php
diff options
context:
space:
mode:
authorPeter Wu2014-12-14 01:07:14 +0100
committerPim van den Berg2014-12-14 15:58:35 +0100
commitab2bcff2d4bba317317e9e8fae071c840add63c7 (patch)
tree1c1d2bbc833c450f1e852a15f44b575253fbd2c1 /inc/functions.inc.php
parentinc/html: include jquery from local source (diff)
downloadapt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.zip
apt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.tar.gz
apt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.tar.bz2
apt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.tar.xz
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
Diffstat (limited to 'inc/functions.inc.php')
-rw-r--r--inc/functions.inc.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/inc/functions.inc.php b/inc/functions.inc.php
index df02d20..abe0763 100644
--- a/inc/functions.inc.php
+++ b/inc/functions.inc.php
@@ -59,13 +59,3 @@ function error_image() {
59 readfile('layout/error.png'); 59 readfile('layout/error.png');
60 exit; 60 exit;
61} 61}
62
63function generate_uuid() {
64 return sprintf( '%04x%04x-%04x-%04x-%04x-%04x%04x%04x',
65 mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff ),
66 mt_rand( 0, 0xffff ),
67 mt_rand( 0, 0x0fff ) | 0x4000,
68 mt_rand( 0, 0x3fff ) | 0x8000,
69 mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff )
70 );
71}