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";