diff --git a/libraries/Menu.class.php b/libraries/Menu.class.php index c418d38760..6a0f978713 100644 --- a/libraries/Menu.class.php +++ b/libraries/Menu.class.php @@ -362,6 +362,15 @@ class PMA_Menu $tabs['operation']['link'] = 'tbl_operations.php'; $tabs['operation']['text'] = __('Operations'); } + /** + * Views support a limited number of operations + */ + if ($tbl_is_view && ! $db_is_system_schema) { + $tabs['operation']['icon'] = 'b_tblops.png'; + $tabs['operation']['link'] = 'view_operations.php'; + $tabs['operation']['text'] = __('Operations'); + } + if (PMA_Tracker::isActive()) { $tabs['tracking']['icon'] = 'eye.png'; $tabs['tracking']['text'] = __('Tracking'); @@ -381,15 +390,6 @@ class PMA_Menu $tabs['triggers']['icon'] = 'b_triggers.png'; } - /** - * Views support a limited number of operations - */ - if ($tbl_is_view && ! $db_is_system_schema) { - $tabs['operation']['icon'] = 'b_tblops.png'; - $tabs['operation']['link'] = 'view_operations.php'; - $tabs['operation']['text'] = __('Operations'); - } - return $tabs; }