From c31b957bdd6c0bd1b9f74a72851c87d4cf6c760a Mon Sep 17 00:00:00 2001 From: ak4t0sh Date: Wed, 17 Sep 2014 09:25:04 +0200 Subject: [PATCH] add new line --- plugins/moodle/modules/moodle_mod_forum.php | 2 +- plugins/moodle/moodle_modules_total.php | 2 +- plugins/moodle/moodle_users_online.php | 2 +- plugins/moodle/moodle_users_total.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/moodle/modules/moodle_mod_forum.php b/plugins/moodle/modules/moodle_mod_forum.php index bbca5516..02a31800 100644 --- a/plugins/moodle/modules/moodle_mod_forum.php +++ b/plugins/moodle/modules/moodle_mod_forum.php @@ -69,4 +69,4 @@ $nb = 0; if (($stmt = $dbh->query("SELECT count(id) FROM {$table_prefix}forum_discussions WHERE timemodified > $graph_period")) != false) { $nb = $stmt->fetchColumn(); } -echo "forum_discussions.value $nb\n"; \ No newline at end of file +echo "forum_discussions.value $nb\n"; diff --git a/plugins/moodle/moodle_modules_total.php b/plugins/moodle/moodle_modules_total.php index 1407097b..a3e7be1d 100644 --- a/plugins/moodle/moodle_modules_total.php +++ b/plugins/moodle/moodle_modules_total.php @@ -67,4 +67,4 @@ if (count($argv) === 2 && $argv[1] === 'config') { foreach($data as $entry) { echo "modules_".$entry->modulename.".label ".$entry->modulename."\n"; echo "modules_".$entry->modulename.".value ".$entry->moduleinstance."\n"; -} \ No newline at end of file +} diff --git a/plugins/moodle/moodle_users_online.php b/plugins/moodle/moodle_users_online.php index 22316762..b7de9fd3 100644 --- a/plugins/moodle/moodle_users_online.php +++ b/plugins/moodle/moodle_users_online.php @@ -61,4 +61,4 @@ $nbusers = 0; if (($stmt = $dbh->query("SELECT count(id) FROM {$table_prefix}user WHERE lastaccess > $graph_period")) != false) { $nbusers = $stmt->fetchColumn(); } -echo "users_online.value $nbusers\n"; \ No newline at end of file +echo "users_online.value $nbusers\n"; diff --git a/plugins/moodle/moodle_users_total.php b/plugins/moodle/moodle_users_total.php index eda1d12b..aa0231d5 100644 --- a/plugins/moodle/moodle_users_total.php +++ b/plugins/moodle/moodle_users_total.php @@ -81,4 +81,4 @@ $nbusers = 0; if (($stmt = $dbh->query("SELECT COUNT(id) FROM {$table_prefix}user WHERE deleted=1")) != false) { $nbusers = $stmt->fetchColumn(); echo "users_deleted.value $nbusers\n"; -} \ No newline at end of file +}