Removed useless "function_exists" checks

This commit is contained in:
Michael 2017-12-12 04:52:33 +00:00
parent 8b4c4572d3
commit 88ef61df95
6 changed files with 13 additions and 107 deletions

View file

@ -376,7 +376,6 @@ function bb_tag_preg_replace($pattern, $replace, $name, $s) {
return $string;
}
if (! function_exists('bb_extract_images')) {
function bb_extract_images($body) {
$saved_image = array();
@ -418,9 +417,8 @@ function bb_extract_images($body) {
$new_body = $new_body . $orig_body;
return array('body' => $new_body, 'images' => $saved_image);
}}
}
if (! function_exists('bb_replace_images')) {
function bb_replace_images($body, $images) {
$newbody = $body;
@ -435,7 +433,7 @@ function bb_replace_images($body, $images) {
}
return $newbody;
}}
}
function bb_ShareAttributes($share, $simplehtml) {
$attributes = $share[2];