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:
authorMichal Čihař <mcihar@suse.cz>2013-07-30 17:07:44 +0400
committerMichal Čihař <mcihar@suse.cz>2013-07-30 17:07:44 +0400
commita5f572e1328a445e4b883d9836797fd0da16b3ef (patch)
tree4eca87f942fb13e8763c2daec4e3eceb9ab305d8 /db_tracking.php
parentc48568afd6df606172334f71133b2366c372d155 (diff)
Factor out text showing detection as well
Diffstat (limited to 'db_tracking.php')
-rw-r--r--db_tracking.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/db_tracking.php b/db_tracking.php
index 73ecd5b23c..b849928843 100644
--- a/db_tracking.php
+++ b/db_tracking.php
@@ -97,11 +97,7 @@ if ($GLOBALS['dbi']->numRows($all_tables_result) > 0) {
__('Delete tracking data for this table')
);
}
- if (in_array(
- $GLOBALS['cfg']['ActionLinksMode'],
- array('text', 'both')
- )
- ) {
+ if (PMA_Util::showText('ActionLinksMode')) {
$drop_image_or_text .= __('Drop');
}