1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 08:15:55 +00:00

get_feeds_from_html: remove XML preamble hack

move several related helper functions to Feeds class
This commit is contained in:
Andrew Dolgov
2019-06-20 07:51:48 +03:00
parent 270b39a337
commit 6d746453c7
4 changed files with 88 additions and 115 deletions

View File

@@ -1708,7 +1708,7 @@ class Pref_Feeds extends Handler_Protected {
foreach ($feeds as $feed) {
$feed = trim($feed);
if (validate_feed_url($feed)) {
if (Feeds::validate_feed_url($feed)) {
$this->pdo->beginTransaction();