From afc0bcab08b88f4533169b6730d33f86b754bc99 Mon Sep 17 00:00:00 2001 From: ak4t0sh Date: Mon, 15 Sep 2014 23:26:34 +0200 Subject: [PATCH] remove useless variable --- plugins/moodle/moodle_modules_total.php | 2 -- plugins/moodle/moodle_users_total.php | 3 --- 2 files changed, 5 deletions(-) diff --git a/plugins/moodle/moodle_modules_total.php b/plugins/moodle/moodle_modules_total.php index e9583b7e..507d3222 100644 --- a/plugins/moodle/moodle_modules_total.php +++ b/plugins/moodle/moodle_modules_total.php @@ -32,8 +32,6 @@ $table_prefix = getenv('table_prefix'); $port = getenv('port'); if (!$port) $port = 3306; -//$graph_period = getenv('graph_period'); -$graph_period = time() - 5*60; try { diff --git a/plugins/moodle/moodle_users_total.php b/plugins/moodle/moodle_users_total.php index 7387568a..3d5d1cc8 100644 --- a/plugins/moodle/moodle_users_total.php +++ b/plugins/moodle/moodle_users_total.php @@ -32,9 +32,6 @@ $table_prefix = getenv('table_prefix'); $port = getenv('port'); if (!$port) $port = 3306; -//$graph_period = getenv('graph_period'); -$graph_period = time() - 5*60; - if (count($argv) === 2 && $argv[1] === 'config') { echo "graph_title Moodle Total Users\n";