From 19fc3bff213d56f52982eb53bdc8eb9d910f882e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 4 Aug 2025 20:05:59 +0300 Subject: [PATCH] drop unused legacy (?) handler method OPML->import() --- classes/OPML.php | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/classes/OPML.php b/classes/OPML.php index bae00b8bc..0560cc5f5 100644 --- a/classes/OPML.php +++ b/classes/OPML.php @@ -20,33 +20,6 @@ class OPML extends Handler_Protected { return $rc; } - function import(): void { - $owner_uid = $_SESSION["uid"]; - - header('Content-Type: text/html; charset=utf-8'); - - print " - - ".stylesheet_tag("themes/light.css")." - ".__("OPML Utility")." - - - -

".__('OPML Utility')."

"; - - Feeds::_add_cat("Imported feeds", $owner_uid); - - $this->opml_notice(__("Importing OPML...")); - - $this->opml_import($owner_uid); - - print "
- -
"; - - print "
"; - } - // Export private function opml_export_category(int $owner_uid, int $cat_id, bool $hide_private_feeds = false, bool $include_settings = true): string {