summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-12-11 14:13:24 +0000
committerDries Buytaert <dries@buytaert.net>2004-12-11 14:13:24 +0000
commit6e3eb60aab126afd0829120a62bdf0556ec324ac (patch)
tree420c66f62990e3e9199561aea31b405be83dd541
parenta0291bb936ff2fbcdbc5795ec971c84443464c07 (diff)
downloadbrdo-6e3eb60aab126afd0829120a62bdf0556ec324ac.tar.gz
brdo-6e3eb60aab126afd0829120a62bdf0556ec324ac.tar.bz2
- Removed some cruft: left-over xxx_help_page() functions.
-rw-r--r--modules/aggregator.module7
-rw-r--r--modules/aggregator/aggregator.module7
-rw-r--r--modules/block.module7
-rw-r--r--modules/block/block.module7
-rw-r--r--modules/book.module4
-rw-r--r--modules/book/book.module4
-rw-r--r--modules/node.module7
-rw-r--r--modules/node/node.module7
-rw-r--r--modules/search.module13
-rw-r--r--modules/search/search.module13
-rw-r--r--modules/system.module7
-rw-r--r--modules/system/system.module7
-rw-r--r--modules/user.module2
-rw-r--r--modules/user/user.module2
14 files changed, 4 insertions, 90 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index 70eecf130..a7d079517 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -70,13 +70,6 @@ function aggregator_help($section) {
}
}
-/**
- * Menu callback; displays the aggregator-specific information from admin/help.
- */
-function aggregator_help_page() {
- print theme('page', aggregator_help('admin/help#aggregator'));
-}
-
function aggregator_configure() {
if ($_POST) {
system_settings_save();
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index 70eecf130..a7d079517 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -70,13 +70,6 @@ function aggregator_help($section) {
}
}
-/**
- * Menu callback; displays the aggregator-specific information from admin/help.
- */
-function aggregator_help_page() {
- print theme('page', aggregator_help('admin/help#aggregator'));
-}
-
function aggregator_configure() {
if ($_POST) {
system_settings_save();
diff --git a/modules/block.module b/modules/block.module
index dd120cfe9..d7e4b7e9b 100644
--- a/modules/block.module
+++ b/modules/block.module
@@ -41,13 +41,6 @@ function block_help($section) {
}
/**
- * Menu callback; presents the block-specific information from admin/help.
- */
-function block_help_page() {
- print theme('page', block_help('admin/help#block'));
-}
-
-/**
* Implementation of hook_perm().
*/
function block_perm() {
diff --git a/modules/block/block.module b/modules/block/block.module
index dd120cfe9..d7e4b7e9b 100644
--- a/modules/block/block.module
+++ b/modules/block/block.module
@@ -41,13 +41,6 @@ function block_help($section) {
}
/**
- * Menu callback; presents the block-specific information from admin/help.
- */
-function block_help_page() {
- print theme('page', block_help('admin/help#block'));
-}
-
-/**
* Implementation of hook_perm().
*/
function block_perm() {
diff --git a/modules/book.module b/modules/book.module
index a68f97248..0909abbcf 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -812,8 +812,4 @@ function book_help($section) {
}
}
-function book_help_page() {
- print theme('page', book_help('admin/help#book'));
-}
-
?>
diff --git a/modules/book/book.module b/modules/book/book.module
index a68f97248..0909abbcf 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -812,8 +812,4 @@ function book_help($section) {
}
}
-function book_help_page() {
- print theme('page', book_help('admin/help#book'));
-}
-
?>
diff --git a/modules/node.module b/modules/node.module
index 40065bc69..60e52d6df 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -65,13 +65,6 @@ function node_cron() {
}
/**
- * Menu callback; presents node-specific information from "admin/help".
- */
-function node_help_page() {
- print theme('page', node_help('admin/help#node'));
-}
-
-/**
* Gather a listing of links to nodes.
*
* @param $result
diff --git a/modules/node/node.module b/modules/node/node.module
index 40065bc69..60e52d6df 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -65,13 +65,6 @@ function node_cron() {
}
/**
- * Menu callback; presents node-specific information from "admin/help".
- */
-function node_help_page() {
- print theme('page', node_help('admin/help#node'));
-}
-
-/**
* Gather a listing of links to nodes.
*
* @param $result
diff --git a/modules/search.module b/modules/search.module
index 8fc6091aa..9cdc34431 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -78,10 +78,6 @@ function search_menu($may_cache) {
'callback' => 'search_view',
'access' => user_access('search content'),
'type' => MENU_SUGGESTED_ITEM);
- $items[] = array('path' => 'search/help', 'title' => t('search help'),
- 'callback' => 'search_help_page',
- 'access' => user_access('search content'),
- 'type' => MENU_SUGGESTED_ITEM);
$items[] = array('path' => 'search/search', 'title' => t('search'),
'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10);
$items[] = array('path' => 'admin/settings/search', 'title' => t('search'),
@@ -509,13 +505,6 @@ function search_view() {
}
/**
- * Menu callback; prints the search engine help page.
- */
-function search_help_page() {
- print theme('page', search_help());
-}
-
-/**
* @defgroup search Search interface
* @{
* The Drupal search interface manages a global search mechanism.
@@ -753,4 +742,4 @@ function theme_search_item($item, $type) {
}
-?> \ No newline at end of file
+?>
diff --git a/modules/search/search.module b/modules/search/search.module
index 8fc6091aa..9cdc34431 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -78,10 +78,6 @@ function search_menu($may_cache) {
'callback' => 'search_view',
'access' => user_access('search content'),
'type' => MENU_SUGGESTED_ITEM);
- $items[] = array('path' => 'search/help', 'title' => t('search help'),
- 'callback' => 'search_help_page',
- 'access' => user_access('search content'),
- 'type' => MENU_SUGGESTED_ITEM);
$items[] = array('path' => 'search/search', 'title' => t('search'),
'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10);
$items[] = array('path' => 'admin/settings/search', 'title' => t('search'),
@@ -509,13 +505,6 @@ function search_view() {
}
/**
- * Menu callback; prints the search engine help page.
- */
-function search_help_page() {
- print theme('page', search_help());
-}
-
-/**
* @defgroup search Search interface
* @{
* The Drupal search interface manages a global search mechanism.
@@ -753,4 +742,4 @@ function theme_search_item($item, $type) {
}
-?> \ No newline at end of file
+?>
diff --git a/modules/system.module b/modules/system.module
index 123a4f273..c2a7ac769 100644
--- a/modules/system.module
+++ b/modules/system.module
@@ -43,13 +43,6 @@ function system_help($section) {
}
/**
- * Menu callback; presents system-specific help text from admin/help.
- */
-function system_help_page() {
- print theme('page', system_help('admin/help#system'));
-}
-
-/**
* Implementation of hook_perm().
*/
function system_perm() {
diff --git a/modules/system/system.module b/modules/system/system.module
index 123a4f273..c2a7ac769 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -43,13 +43,6 @@ function system_help($section) {
}
/**
- * Menu callback; presents system-specific help text from admin/help.
- */
-function system_help_page() {
- print theme('page', system_help('admin/help#system'));
-}
-
-/**
* Implementation of hook_perm().
*/
function system_perm() {
diff --git a/modules/user.module b/modules/user.module
index f6708d939..a07fa5fef 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -111,7 +111,7 @@ function user_save($account, $array = array(), $category = 'account') {
$query .= "$key = '%s', ";
$v[] = $value;
}
- else if ($key != 'roles') {
+ else if ($key != 'roles') {
// Roles is a special case: it used below.
if ($value === null) {
// Setting a field to null deletes it from the data column.
diff --git a/modules/user/user.module b/modules/user/user.module
index f6708d939..a07fa5fef 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -111,7 +111,7 @@ function user_save($account, $array = array(), $category = 'account') {
$query .= "$key = '%s', ";
$v[] = $value;
}
- else if ($key != 'roles') {
+ else if ($key != 'roles') {
// Roles is a special case: it used below.
if ($value === null) {
// Setting a field to null deletes it from the data column.