From: Jakub Vrana Date: Thu, 6 Mar 2025 13:59:48 +0000 (+0100) Subject: Delete incorporated plugin X-Git-Tag: v5.0.0~22 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=edd7c67797fe27899a1745689015c51057bda4db;p=adminer.git Delete incorporated plugin --- diff --git a/adminer/drivers/pgsql.inc.php b/adminer/drivers/pgsql.inc.php index 15845b31..57224600 100644 --- a/adminer/drivers/pgsql.inc.php +++ b/adminer/drivers/pgsql.inc.php @@ -771,6 +771,7 @@ AND typelem = 0" } function type_values($id) { + // to get values from type string: unnest(enum_range(NULL::"$type")) $enums = get_vals("SELECT enumlabel FROM pg_enum WHERE enumtypid = $id ORDER BY enumsortorder"); return ($enums ? "'" . implode("', '", array_map('addslashes', $enums)) . "'" : ""); } diff --git a/plugins/enum-types.php b/plugins/enum-types.php deleted file mode 100644 index 6a612615..00000000 --- a/plugins/enum-types.php +++ /dev/null @@ -1,49 +0,0 @@ -