summaryrefslogtreecommitdiff
path: root/modules/backend.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-12-16 21:42:52 +0000
committerDries Buytaert <dries@buytaert.net>2000-12-16 21:42:52 +0000
commitdcfcd99c6c55ddab797c31f7a544b7c1d0d9953e (patch)
tree59884a0f3afa0de6ccaede807dcb00174fdee20a /modules/backend.module
parent62588af9cefda10fbde2a7293095613ae3e1a224 (diff)
downloadbrdo-dcfcd99c6c55ddab797c31f7a544b7c1d0d9953e.tar.gz
brdo-dcfcd99c6c55ddab797c31f7a544b7c1d0d9953e.tar.bz2
- improved web interface of cron module.
- improved web interface of account module. - added simple permission system with both administrators and regular users. It can be made more fine-grained but it will do for now. - various small enhancements to the other modules, but nothing big.
Diffstat (limited to 'modules/backend.module')
-rw-r--r--modules/backend.module5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/backend.module b/modules/backend.module
index 43a2211a6..9c3b2bdcc 100644
--- a/modules/backend.module
+++ b/modules/backend.module
@@ -44,7 +44,10 @@ function backend_page() {
}
function backend_cron() {
- // update backends
+ $result = db_query("SELECT * FROM channel");
+ while ($channel = db_fetch_object($result)) {
+ $backend = new Backend($channel->id);
+ }
}
function backend_admin_main() {