1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 18:35:57 +00:00

update_rss_feed: fix BLACKLISTED_TAGS not working properly, simplify tag-related code

This commit is contained in:
Andrew Dolgov
2020-12-20 23:12:45 +03:00
parent 5f733604f0
commit f59c567831
3 changed files with 17 additions and 32 deletions

View File

@@ -396,12 +396,6 @@
return uniqid(base_convert(rand(), 10, 36));
}
function trim_array($array) {
$tmp = $array;
array_walk($tmp, 'trim');
return $tmp;
}
function T_sprintf() {
$args = func_get_args();
return vsprintf(__(array_shift($args)), $args);