https://reisub.nsupdate.info/git
/
friendica-addons.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3fa9a7
)
appnet: Now more links are removed, if they are used in the attached data
author
Michael Vogel
<icarus@dabo.de>
Sun, 27 Jul 2014 14:06:18 +0000
(16:06 +0200)
committer
Michael Vogel
<icarus@dabo.de>
Sun, 27 Jul 2014 14:06:18 +0000
(16:06 +0200)
appnet/appnet.php
patch
|
blob
|
history
diff --git
a/appnet/appnet.php
b/appnet/appnet.php
index
b74e29f
..
db3422e
100644
(file)
--- a/
appnet/appnet.php
+++ b/
appnet/appnet.php
@@
-975,6
+975,9
@@
function appnet_createpost($a, $uid, $post, $me, $user, $ownid, $createuser, $th
if (($removedlink == "") OR strstr($postarray['body'], $removedlink))
$postarray['body'] = $removedlink;
+ if (($removedlink == "") OR strstr("[url]".$postarray['body']."[/url]", $removedlink))
+ $postarray['body'] = $removedlink;
+
$page_info = add_page_info($link, false, $photo["url"]);
}