- Renaming parameter to hook_filter_tips()

- Removing some leftover dead code
4.5.x
Steven Wittens 2004-08-10 22:51:21 +00:00
parent 4a35c8aa0d
commit 6fd74abb88
2 changed files with 2 additions and 10 deletions

View File

@ -45,7 +45,7 @@ function filter_help($section) {
/**
* Implementation of hook_filter_tips().
*/
function filter_filter_tips($delta, $format, $type = false) {
function filter_filter_tips($delta, $format, $long = false) {
switch ($delta) {
case 0:
switch (variable_get("filter_html_$format", FILTER_HTML_STRIP)) {
@ -852,10 +852,6 @@ function _filter_html($text, $format) {
$text = htmlspecialchars($text);
}
if (variable_get("filter_nl2br_$format", true)) {
$text = _filter_autop($text, true);
}
return trim($text);
}

View File

@ -45,7 +45,7 @@ function filter_help($section) {
/**
* Implementation of hook_filter_tips().
*/
function filter_filter_tips($delta, $format, $type = false) {
function filter_filter_tips($delta, $format, $long = false) {
switch ($delta) {
case 0:
switch (variable_get("filter_html_$format", FILTER_HTML_STRIP)) {
@ -852,10 +852,6 @@ function _filter_html($text, $format) {
$text = htmlspecialchars($text);
}
if (variable_get("filter_nl2br_$format", true)) {
$text = _filter_autop($text, true);
}
return trim($text);
}