]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - pkgs/webapps/ttrss/plugins/feediron/json_reformat.patch
Squash changes containing private information
[perso/Immae/Config/Nix.git] / pkgs / webapps / ttrss / plugins / feediron / json_reformat.patch
diff --git a/pkgs/webapps/ttrss/plugins/feediron/json_reformat.patch b/pkgs/webapps/ttrss/plugins/feediron/json_reformat.patch
deleted file mode 100644 (file)
index e1c44d9..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/init.php b/init.php
-index 3c0f2f9..1aad146 100644
---- a/init.php
-+++ b/init.php
-@@ -600,10 +600,11 @@ class Feediron extends Plugin implements IHandler
-                       return false;
-               }
--              $this->host->set($this, 'json_conf', Feediron_Json::format($json_conf));
-+                $new_conf = json_encode(json_decode($json_conf), JSON_PRETTY_PRINT);
-+                $this->host->set($this, 'json_conf', $new_conf);
-               $json_reply['success'] = true;
-               $json_reply['message'] = __('Configuration saved.');
--              $json_reply['json_conf'] = Feediron_Json::format($json_conf);
-+                $json_reply['json_conf'] = $new_conf;
-               echo json_encode($json_reply);
-       }