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

@ -15,6 +15,7 @@ use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Protocol\PortableContact;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Strings;
use Friendica\Util\XML;
function poco_init(App $a) {
@ -25,7 +26,7 @@ function poco_init(App $a) {
}
if ($a->argc > 1) {
$user = notags(trim($a->argv[1]));
$user = Strings::removeTags(trim($a->argv[1]));
}
if (empty($user)) {
$c = q("SELECT * FROM `pconfig` WHERE `cat` = 'system' AND `k` = 'suggestme' AND `v` = 1");