diff options
author | Michal Čihař <mcihar@suse.cz> | 2013-07-30 17:07:44 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2013-07-30 17:07:44 +0400 |
commit | a5f572e1328a445e4b883d9836797fd0da16b3ef (patch) | |
tree | 4eca87f942fb13e8763c2daec4e3eceb9ab305d8 /db_tracking.php | |
parent | c48568afd6df606172334f71133b2366c372d155 (diff) |
Factor out text showing detection as well
Diffstat (limited to 'db_tracking.php')
-rw-r--r-- | db_tracking.php | 6 |
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'); } |