]> git.mxchange.org Git - friendica.git/blobdiff - mod/pubsubhubbub.php
notags calls
[friendica.git] / mod / pubsubhubbub.php
index 26a157e2fd110dba1ede311b2de098ae933a5ddd..d23f1fe47da3b7695cf195ab3ee7bfbe9ec944f9 100644 (file)
@@ -7,9 +7,10 @@ use Friendica\Core\System;
 use Friendica\Database\DBA;
 use Friendica\Model\PushSubscriber;
 use Friendica\Util\Network;
+use Friendica\Util\Strings;
 
 function post_var($name) {
-       return (x($_POST, $name)) ? notags(trim($_POST[$name])) : '';
+       return (x($_POST, $name)) ? Strings::removeTags(trim($_POST[$name])) : '';
 }
 
 function pubsubhubbub_init(App $a) {