diff options
author | Michal Čihař <mcihar@suse.cz> | 2013-07-30 16:53:51 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2013-07-30 16:54:21 +0400 |
commit | 7a97781c238a6b1bc887a9dff8f96afe9bbf82d0 (patch) | |
tree | 6674e1130f62e311ca8cb0a9401de60fba5b13e4 /db_tracking.php | |
parent | 94cc3813dc25b1b50337388f49492b30f135049e (diff) |
Share code for checking whether to show icons
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 df589ed723..73ecd5b23c 100644 --- a/db_tracking.php +++ b/db_tracking.php @@ -91,11 +91,7 @@ if ($GLOBALS['dbi']->numRows($all_tables_result) > 0) { // Print out information about versions $drop_image_or_text = ''; - if (in_array( - $GLOBALS['cfg']['ActionLinksMode'], - array('icons', 'both') - ) - ) { + if (PMA_Util::showIcons('ActionLinksMode')) { $drop_image_or_text .= PMA_Util::getImage( 'b_drop.png', __('Delete tracking data for this table') |