1
0
Fork 0

Rename removeTags to escapeTags

rename function and update calls.
This commit is contained in:
Adam Magness 2018-11-09 13:29:42 -05:00
commit 218f0734be
51 changed files with 233 additions and 240 deletions

View file

@ -23,7 +23,7 @@ function subthread_content(App $a) {
$activity = ACTIVITY_FOLLOW;
$item_id = (($a->argc > 1) ? Strings::removeTags(trim($a->argv[1])) : 0);
$item_id = (($a->argc > 1) ? Strings::escapeTags(trim($a->argv[1])) : 0);
$condition = ["`parent` = ? OR `parent-uri` = ? AND `parent` = `id`", $item_id, $item_id];
$item = Item::selectFirst([], $condition);