1
1
Fork 0

notags calls

implement removeTags function
This commit is contained in:
Adam Magness 2018-11-08 10:14:37 -05:00
commit a0f65ca7a1
51 changed files with 274 additions and 232 deletions

View 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) {