aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 842113c31..366346d25 100755
--- a/boot.php
+++ b/boot.php
@@ -2171,3 +2171,13 @@ function get_directory_realm() {
return DIRECTORY_REALM;
}
+
+
+/**
+ * @brief return relative date of last completed poller execution
+ */
+
+function get_poller_runtime() {
+ $t = get_config('system','lastpoll');
+ return relative_date($t);
+} \ No newline at end of file