summaryrefslogtreecommitdiff
path: root/modules/account.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-12-16 08:39:01 +0000
committerDries Buytaert <dries@buytaert.net>2000-12-16 08:39:01 +0000
commitc1a88d5d6733f1cd17fe677456cb445edd6a7afd (patch)
tree16d244b1d1ca04ec010198f5ba268bed7ca717b6 /modules/account.module
parent8a77861958367a0364675f93c8d49b953e4d8566 (diff)
downloadbrdo-c1a88d5d6733f1cd17fe677456cb445edd6a7afd.tar.gz
brdo-c1a88d5d6733f1cd17fe677456cb445edd6a7afd.tar.bz2
Again, a large batch of updates - I'm twisting things around here:
1. improved .htaccess to be more "secure": to keep prying eyes out 2. rewrote the administration section from scratch using a modular approach 3. improved the information gathered by error.php - we can now (hopefully) track what bots are crawling us. 4. fixed a bug in submit.php, fixed a bug in theme zaphod, fixed a bug in theme marvin. 5. rewrote cron from scratch - it now interfaces with modules as it should have been from the beginning. Very cool if you ask me - it can use UNIX/Linux crontabs. 6. updated widget.inc to be module aware - needs more work though - maybe this afternoon? 7. updated most modules: small bugfixes, improvements, and even the documentation 8. removed diary.php and made it a module - you can now run a drop.org site without a diary system if someone would prefer so 9. updated all themes to use the new modules where appropriate 10. added a robots.txt because the error message in the watchdog become annoying. 11. added the new configuration system (mutliple vhosts on the same source tree) - use hostname.conf instead of config.inc 12. removed calendar.inc and made it a module 13. added format_interval() to functions.inc (UnConeD) 14. whatever I forgot ...
Diffstat (limited to 'modules/account.module')
-rw-r--r--modules/account.module9
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/account.module b/modules/account.module
index 7169da5ff..11f69fb16 100644
--- a/modules/account.module
+++ b/modules/account.module
@@ -1,6 +1,11 @@
<?
-$module = array("admin" => "account_admin");
+$module = array("cron" => "account_cron",
+ "admin" => "account_admin");
+
+function account_cron() {
+ // clean-up user database
+}
function account_display($order = "username") {
$sort = array("ID" => "id", "fake e-mail address" => "fake_email", "homepage" => "url", "hostname" => "last_host", "last access date" => "last_access", "real e-mail address" => "real_email", "real name" => "name", "status" => "status", "theme" => "theme", "timezone" => "timezone", "username" => "userid");
@@ -122,4 +127,4 @@ function account_admin() {
}
}
-?> \ No newline at end of file
+?>