From 3011e355940c5dc9a0d076e5bfe30c0e8c254f30 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Sun, 7 Mar 2010 11:54:06 +0100
Subject: Updating function reading in the cgi.

---
 cgi/cron | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/cgi/cron b/cgi/cron
index 8203ae8..e5a750c 100755
--- a/cgi/cron
+++ b/cgi/cron
@@ -8,12 +8,7 @@
 # under certain conditions; see COPYING for details.
 
 # Including common functions
-LH_BASE="${LH_BASE:-/usr/share/live-helper}"
-
-for _FUNCTION in "${LH_BASE}"/functions/*.sh
-do
-	. "${_FUNCTION}"
-done
+. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
 
 # Reading defaults
 if [ -r /etc/default/live-webhelper ]
-- 
cgit v1.0