notags calls
implement removeTags function
This commit is contained in:
parent
991f259ecb
commit
a0f65ca7a1
51 changed files with 274 additions and 232 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue