Clean up some unused variables.
This is essentially 1ccc0c8c1a without the renames and some other things related to Psalm.
This commit is contained in:
@@ -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', '<')) {
|
||||
|
||||
Reference in New Issue
Block a user