diff options
author | wn_ <[email protected]> | 2024-01-08 22:46:13 +0000 |
---|---|---|
committer | wn_ <[email protected]> | 2024-01-08 22:46:13 +0000 |
commit | 8727fb3ba8a28da48c71bdd39166b9aeb3c3d986 (patch) | |
tree | 8047a82c148f3055a5fb5bd197bef88d55a10e7a /classes/OPML.php | |
parent | f0f22c23c5986d8f21f82e4a8203a164a5c4aace (diff) |
Clean up some unused variables.
This is essentially https://gitlab.tt-rss.org/wn/tt-rss/-/commit/1ccc0c8c1af04dd9654b585c6d07e3a75d944a0c without the renames and some other things related to Psalm.
Diffstat (limited to 'classes/OPML.php')
-rw-r--r-- | classes/OPML.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/classes/OPML.php b/classes/OPML.php index b9f5f2eab..6b95a89db 100644 --- a/classes/OPML.php +++ b/classes/OPML.php @@ -612,8 +612,6 @@ class OPML extends Handler_Protected { function opml_import(int $owner_uid, string $filename = "") { if (!$owner_uid) return; - $doc = false; - if (!$filename) { if ($_FILES['opml_file']['error'] != 0) { print_error(T_sprintf("Upload failed with error code %d", @@ -644,8 +642,6 @@ class OPML extends Handler_Protected { return false; } - $loaded = false; - $doc = new DOMDocument(); if (version_compare(PHP_VERSION, '8.0.0', '<')) { |