Skip to content
Snippets Groups Projects
Commit 07408ac2 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

opml: normalize class name

parent d91eae9c
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ class Dlg extends Handler_Protected { ...@@ -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"]);
......
<?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");
......
...@@ -26,7 +26,7 @@ ...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment