From 04519388ce1bf3acc9997b35748762a7380e5954 Mon Sep 17 00:00:00 2001 From: skiingwiz Date: Sat, 27 Mar 2021 22:15:10 -0400 Subject: Allow directly adding a feed without going through the discovery process Signed-off-by: skiingwiz --- lib/Controller/FeedController.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/Controller') diff --git a/lib/Controller/FeedController.php b/lib/Controller/FeedController.php index 9c97d34b1..f071ade0f 100644 --- a/lib/Controller/FeedController.php +++ b/lib/Controller/FeedController.php @@ -161,7 +161,8 @@ class FeedController extends Controller ?int $parentFolderId, ?string $title = null, ?string $user = null, - ?string $password = null + ?string $password = null, + bool $fullDiscover = true ) { if ($parentFolderId === 0) { $parentFolderId = null; @@ -178,7 +179,8 @@ class FeedController extends Controller false, $title, $user, - $password + $password, + $fullDiscover ); $params = ['feeds' => [$feed]]; -- cgit v1.2.3