diff options
author | Andrew Dolgov <[email protected]> | 2021-02-08 21:38:26 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-08 21:38:26 +0300 |
commit | 07408ac2226aed0d9020031abc8dbd977c71e61e (patch) | |
tree | cc090b784d166e29ac563dd2efa2bf4aca56c678 | |
parent | d91eae9c7e5e53dd95d500ff1f9f0a616bf8420d (diff) |
opml: normalize class name
-rw-r--r-- | classes/dlg.php | 2 | ||||
-rw-r--r-- | classes/opml.php | 2 | ||||
-rw-r--r-- | opml.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/classes/dlg.php b/classes/dlg.php index 426f934c8..fa154d7a4 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -18,7 +18,7 @@ class Dlg extends Handler_Protected { print "<div class='panel panel-scrollable'>"; - $opml = new Opml($_REQUEST); + $opml = new OPML($_REQUEST); $opml->opml_import($_SESSION["uid"]); diff --git a/classes/opml.php b/classes/opml.php index bc2d4d7b9..aa5e22b80 100644 --- a/classes/opml.php +++ b/classes/opml.php @@ -1,5 +1,5 @@ <?php -class Opml extends Handler_Protected { +class OPML extends Handler_Protected { function csrf_ignore($method) { $csrf_ignored = array("export", "import"); @@ -26,7 +26,7 @@ if ($row = $sth->fetch()) { $owner_uid = $row['owner_uid']; - $opml = new Opml($_REQUEST); + $opml = new OPML($_REQUEST); $opml->opml_export("", $owner_uid, true, false); } else { |