summaryrefslogtreecommitdiff
path: root/includes/module.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-01-26 13:38:46 +0000
committerDries Buytaert <dries@buytaert.net>2001-01-26 13:38:46 +0000
commitd386c110f449d39631c6af1aabced9799c7a372d (patch)
tree443ae8e3b5ac6680d5a25b26271ce02780b4a51e /includes/module.inc
parent34a927e6e36c08522bd5b1a873d563e9da5bc7ab (diff)
downloadbrdo-d386c110f449d39631c6af1aabced9799c7a372d.tar.gz
brdo-d386c110f449d39631c6af1aabced9799c7a372d.tar.bz2
- removed redundant spaces
Diffstat (limited to 'includes/module.inc')
-rw-r--r--includes/module.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/module.inc b/includes/module.inc
index e52f612e1..6c11a358d 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -16,7 +16,7 @@ function module_rehash_crons($name, $module) {
if ($module["cron"]) {
if (!db_fetch_object(db_query("SELECT * FROM crons WHERE module = '$name'"))) {
db_query("INSERT INTO crons (module, scheduled, timestamp) VALUES ('". check_input($name) ."', '172800', '0')");
- }
+ }
}
else {
db_query("DELETE FROM crons WHERE module = '$name'");
@@ -24,7 +24,7 @@ function module_rehash_crons($name, $module) {
}
function module_rehash_blocks($name, $module) {
- db_query("DELETE FROM blocks WHERE module = '$name'");
+ db_query("DELETE FROM blocks WHERE module = '$name'");
if ($module["block"] && $blocks = $module["block"]()) {
foreach ($blocks as $offset=>$block) {
db_query("INSERT INTO blocks (name, module, offset) VALUES ('". check_input($block["info"]) ."', '". check_input($name) ."', '". check_input($offset) ."')");
@@ -34,7 +34,7 @@ function module_rehash_blocks($name, $module) {
function module_rehash($name) {
global $repository;
-
+
if ($module = $repository[$name]) {
$result = db_query("SELECT * FROM modules WHERE name = '$name'");