From d14bc428c695e9d8e6a17c9e7cb7f985b733992e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 14 Jan 2005 15:21:39 +0000 Subject: - Patch #15570 by Drumm: integrated the admin and system module. Renamed the callback as per Goba's suggestion. --- modules/admin.module | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 modules/admin.module (limited to 'modules/admin.module') diff --git a/modules/admin.module b/modules/admin.module deleted file mode 100644 index 53804388d..000000000 --- a/modules/admin.module +++ /dev/null @@ -1,42 +0,0 @@ -Welcome to the administration section. Below are the most recent system events.

'); - } -} - -/** - * Implementation of hook_menu(). - */ -function admin_menu($may_cache) { - $items = array(); - if ($may_cache) { - $items[] = array('path' => 'admin', 'title' => t('administer'), - 'access' => user_access('access administration pages'), - 'callback' => 'admin_main_page', - 'weight' => 9); - } - return $items; -} - -/** - * Menu callback; provides the main page of the administration section. - */ -function admin_main_page() { - watchdog_overview('actions'); -} - -?> -- cgit v1.2.3