- Removed some cruft: left-over xxx_help_page() functions.

4.6.x
Dries Buytaert 2004-12-11 14:13:24 +00:00
parent a0291bb936
commit 6e3eb60aab
14 changed files with 4 additions and 90 deletions

View File

@ -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();

View File

@ -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();

View File

@ -40,13 +40,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().
*/

View File

@ -40,13 +40,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().
*/

View File

@ -812,8 +812,4 @@ function book_help($section) {
}
}
function book_help_page() {
print theme('page', book_help('admin/help#book'));
}
?>

View File

@ -812,8 +812,4 @@ function book_help($section) {
}
}
function book_help_page() {
print theme('page', book_help('admin/help#book'));
}
?>

View File

@ -64,13 +64,6 @@ function node_cron() {
db_query('DELETE FROM {history} WHERE timestamp < %d', NODE_NEW_LIMIT);
}
/**
* 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.
*

View File

@ -64,13 +64,6 @@ function node_cron() {
db_query('DELETE FROM {history} WHERE timestamp < %d', NODE_NEW_LIMIT);
}
/**
* 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.
*

View File

@ -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'),
@ -508,13 +504,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
* @{
@ -753,4 +742,4 @@ function theme_search_item($item, $type) {
}
?>
?>

View File

@ -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'),
@ -508,13 +504,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
* @{
@ -753,4 +742,4 @@ function theme_search_item($item, $type) {
}
?>
?>

View File

@ -42,13 +42,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().
*/

View File

@ -42,13 +42,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().
*/

View File

@ -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.

View File

@ -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.