Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2022-11-08 04:06:59 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2022-11-08 04:06:59 +0300
commit97aac39a40cef8f0ec63f380be79e14c4633bd67 (patch)
tree98566ce042c48301b5791bea1d889c259a566da7 /libraries/classes/Controllers/Table/TriggersController.php
parent4405b8afa42ad4057189a48b1ab6ca14d04403fc (diff)
Remove the sub_part global variable
It's only used inside Util::getDbInfo() for pagination when not exporting. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'libraries/classes/Controllers/Table/TriggersController.php')
-rw-r--r--libraries/classes/Controllers/Table/TriggersController.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/classes/Controllers/Table/TriggersController.php b/libraries/classes/Controllers/Table/TriggersController.php
index ba6d60159d..249571d6e7 100644
--- a/libraries/classes/Controllers/Table/TriggersController.php
+++ b/libraries/classes/Controllers/Table/TriggersController.php
@@ -44,7 +44,6 @@ class TriggersController extends AbstractController
$GLOBALS['tables'] = $GLOBALS['tables'] ?? null;
$GLOBALS['num_tables'] = $GLOBALS['num_tables'] ?? null;
$GLOBALS['total_num_tables'] = $GLOBALS['total_num_tables'] ?? null;
- $GLOBALS['sub_part'] = $GLOBALS['sub_part'] ?? null;
$GLOBALS['tooltip_truename'] = $GLOBALS['tooltip_truename'] ?? null;
$GLOBALS['tooltip_aliasname'] = $GLOBALS['tooltip_aliasname'] ?? null;
$GLOBALS['pos'] = $GLOBALS['pos'] ?? null;
@@ -81,12 +80,11 @@ class TriggersController extends AbstractController
[
$GLOBALS['tables'],
$GLOBALS['num_tables'],
- $GLOBALS['total_num_tables'],
- $GLOBALS['sub_part'],,,
+ $GLOBALS['total_num_tables'],,,
$GLOBALS['tooltip_truename'],
$GLOBALS['tooltip_aliasname'],
$GLOBALS['pos'],
- ] = Util::getDbInfo($GLOBALS['db'], $GLOBALS['sub_part'] ?? '');
+ ] = Util::getDbInfo($GLOBALS['db']);
}
} elseif (strlen($GLOBALS['db']) > 0) {
$this->dbi->selectDb($GLOBALS['db']);