From 1cefbd9dd0f578dd831eceee772f1fe3b12dab09 Mon Sep 17 00:00:00 2001 From: chriskl Date: Sat, 10 Jul 2004 08:57:56 +0000 Subject: [PATCH] don't show database privileges pre 7.3 --- all_db.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/all_db.php b/all_db.php index 7bc032a7..273c1d86 100644 --- a/all_db.php +++ b/all_db.php @@ -3,7 +3,7 @@ /** * Manage databases within a server * - * $Id: all_db.php,v 1.28 2004/07/10 08:51:01 chriskl Exp $ + * $Id: all_db.php,v 1.29 2004/07/10 08:57:56 chriskl Exp $ */ // Include application functions @@ -186,6 +186,7 @@ ); if (!$data->hasTablespaces()) unset($columns['tablespace']); + if (!isset($data->privlist['database'])) unset($actions['privileges']); $misc->printTable($databases, $columns, $actions, $lang['strnodatabases']); -- 2.39.5