opml: normalize class name

This commit is contained in:
Andrew Dolgov 2021-02-08 21:38:26 +03:00
parent d91eae9c7e
commit 07408ac222
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ class Dlg extends Handler_Protected {
print "<div class='panel panel-scrollable'>"; print "<div class='panel panel-scrollable'>";
$opml = new Opml($_REQUEST); $opml = new OPML($_REQUEST);
$opml->opml_import($_SESSION["uid"]); $opml->opml_import($_SESSION["uid"]);

View File

@ -1,5 +1,5 @@
<?php <?php
class Opml extends Handler_Protected { class OPML extends Handler_Protected {
function csrf_ignore($method) { function csrf_ignore($method) {
$csrf_ignored = array("export", "import"); $csrf_ignored = array("export", "import");

View File

@ -26,7 +26,7 @@
if ($row = $sth->fetch()) { if ($row = $sth->fetch()) {
$owner_uid = $row['owner_uid']; $owner_uid = $row['owner_uid'];
$opml = new Opml($_REQUEST); $opml = new OPML($_REQUEST);
$opml->opml_export("", $owner_uid, true, false); $opml->opml_export("", $owner_uid, true, false);
} else { } else {