diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-01-14 15:21:39 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-01-14 15:21:39 +0000 |
commit | d14bc428c695e9d8e6a17c9e7cb7f985b733992e (patch) | |
tree | 1f1c950c246d82dd73a0cb7c7761410a780a4506 /modules/admin.module | |
parent | a6e7e9c104f718a98c92770a1d606b3531b54e3d (diff) | |
download | brdo-d14bc428c695e9d8e6a17c9e7cb7f985b733992e.tar.gz brdo-d14bc428c695e9d8e6a17c9e7cb7f985b733992e.tar.bz2 |
- Patch #15570 by Drumm: integrated the admin and system module. Renamed the callback as per Goba's suggestion.
Diffstat (limited to 'modules/admin.module')
-rw-r--r-- | modules/admin.module | 42 |
1 files changed, 0 insertions, 42 deletions
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 @@ -<?php -// $Id$ - -/** - * @file - * Handles the administration pages. - */ - -/** - * Implementation of hook_help(). - */ -function admin_help($section) { - switch ($section) { - case 'admin/modules#description': - return t('Handles the administration pages.'); - case 'admin': - return t('<p>Welcome to the administration section. Below are the most recent system events.</p>'); - } -} - -/** - * 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'); -} - -?> |