mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
src Standards
This basically completes coding standards changes for the entire src directory, with the exception of App.php
This commit is contained in:
parent
057984c69e
commit
609a4de5d0
15 changed files with 370 additions and 338 deletions
|
@ -4291,7 +4291,7 @@ function api_share_as_retweet(&$item)
|
|||
{
|
||||
$body = trim($item["body"]);
|
||||
|
||||
if (Diaspora::is_reshare($body, false)===false) {
|
||||
if (Diaspora::isReshare($body, false)===false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -4299,7 +4299,7 @@ function api_share_as_retweet(&$item)
|
|||
$attributes = preg_replace("/\[share(.*?)\]\s?(.*?)\s?\[\/share\]\s?/ism", "$1", $body);
|
||||
/*
|
||||
* Skip if there is no shared message in there
|
||||
* we already checked this in diaspora::is_reshare()
|
||||
* we already checked this in diaspora::isReshare()
|
||||
* but better one more than one less...
|
||||
*/
|
||||
if ($body == $attributes) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue