From 156839142e5c8655689d0aa36748e38b65c0b291 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 11 Mar 2025 18:16:44 +0100 Subject: [PATCH] Fix plugin AdminerPrettyJsonColumn --- plugins/pretty-json-column.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugins/pretty-json-column.php b/plugins/pretty-json-column.php index cf99bff8..bb8d8642 100644 --- a/plugins/pretty-json-column.php +++ b/plugins/pretty-json-column.php @@ -3,13 +3,6 @@ /** Pretty print JSON values in edit */ class AdminerPrettyJsonColumn { - /** @var AdminerPlugin */ - protected $adminer; - - public function __construct($adminer) { - $this->adminer = $adminer; - } - private function testJson($value) { if ((substr($value, 0, 1) == '{' || substr($value, 0, 1) == '[') && ($json = json_decode($value, true))) { return $json; @@ -33,6 +26,5 @@ class AdminerPrettyJsonColumn { $value = json_encode($json); } } - return $this->adminer->_callParent('processInput', array($field, $value, $function)); } }