From b34b104a3061d315eec6ce540cae5e43e5190f34 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 12 Jan 2011 08:53:06 -0500 Subject: [PATCH] Improve function naming and remove vulgar term --- libraries/schema/User_Schema.class.php | 8 ++++---- schema_edit.php | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libraries/schema/User_Schema.class.php b/libraries/schema/User_Schema.class.php index bcb92daf7..fbec138de 100644 --- a/libraries/schema/User_Schema.class.php +++ b/libraries/schema/User_Schema.class.php @@ -40,7 +40,7 @@ class PMA_User_Schema * @access public */ - public function processUserPreferences() + public function processUserChoice() { global $action_choose,$db,$cfgRelation,$cfg,$query_default_option; @@ -65,7 +65,7 @@ class PMA_User_Schema $this->c_table_rows = $_POST['c_table_rows']; $this->_editCoordinates($db, $cfgRelation,$query_default_option); break; - case 'deleteCrap': + case 'delete_old_references': $this->_deleteTableRows($delrow,$cfgRelation,$db,$this->chosenPage); break; case 'process_export': @@ -84,7 +84,7 @@ class PMA_User_Schema * @return void * @access public */ - public function createPage($db) + public function showCreatePageDialog($db) { ?>
@@ -439,7 +439,7 @@ class PMA_User_Schema if ($shoot) { echo '' . "\n" . PMA_generate_common_hidden_inputs($db, $table) - . '' . "\n" + . '' . "\n" . '' . "\n" . __('The current page has references to tables that no longer exist. Would you like to delete those references?') . '