mirror of
https://github.com/friendica/friendica
synced 2025-04-19 05:50:10 +00:00
Removed useless "function_exists" checks
This commit is contained in:
parent
8b4c4572d3
commit
88ef61df95
6 changed files with 13 additions and 107 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue