summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-08 21:38:26 +0300
committerAndrew Dolgov <[email protected]>2021-02-08 21:38:26 +0300
commit07408ac2226aed0d9020031abc8dbd977c71e61e (patch)
treecc090b784d166e29ac563dd2efa2bf4aca56c678
parentd91eae9c7e5e53dd95d500ff1f9f0a616bf8420d (diff)
opml: normalize class name
-rw-r--r--classes/dlg.php2
-rw-r--r--classes/opml.php2
-rw-r--r--opml.php2
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");
diff --git a/opml.php b/opml.php
index bdee88e08..9b7809e0e 100644
--- a/opml.php
+++ b/opml.php
@@ -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 {