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>2020-03-29 02:03:48 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2020-03-29 02:03:48 +0300
commit1e05faffca06e780afd7169ce4febc3cad49f075 (patch)
tree4dda3fbb6c594ac158c93b2bbf54c17a7e7ab55f /libraries/classes/Index.php
parentafd69b1ab353361e444a6fc3cac920e114583fda (diff)
Extract HTML from Index::generateIndexTypeSelector
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'libraries/classes/Index.php')
-rw-r--r--libraries/classes/Index.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/libraries/classes/Index.php b/libraries/classes/Index.php
index 25d3e7b132..4831a5e403 100644
--- a/libraries/classes/Index.php
+++ b/libraries/classes/Index.php
@@ -471,26 +471,6 @@ class Index
}
/**
- * Returns HTML for the index type selector
- *
- * @return string HTML for the index type selector
- */
- public function generateIndexTypeSelector()
- {
- $types = ['' => '--'];
- foreach (self::getIndexTypes() as $type) {
- $types[$type] = $type;
- }
-
- return Html\Forms\Fields\DropDown::generate(
- 'index[Index_type]',
- $types,
- $this->_type,
- 'select_index_type'
- );
- }
-
- /**
* Returns how the index is packed
*
* @return string how the index is packed