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:
authorMichal Čihař <michal@cihar.com>2011-08-15 13:36:13 +0400
committerMichal Čihař <michal@cihar.com>2011-08-15 13:36:13 +0400
commitb0a108473e3087fa50b121ed48e16809e9ace20a (patch)
tree2797082d77f5592f3acb11a8410f798f8d2ecbf6 /schema_edit.php
parentbbccd32c816b2bf56e3e36c8c0f86a42ca15dd37 (diff)
Remove not needed param from PMA_REL_create_page
Diffstat (limited to 'schema_edit.php')
-rw-r--r--schema_edit.php23
1 files changed, 8 insertions, 15 deletions
diff --git a/schema_edit.php b/schema_edit.php
index 4ab41d4539..3662b0b161 100644
--- a/schema_edit.php
+++ b/schema_edit.php
@@ -20,19 +20,12 @@ require_once './libraries/db_info.inc.php';
/**
* Includ settings for relation stuff
- * get all variables needed for exporting relational schema
+ * get all variables needed for exporting relational schema
* in $cfgRelation
*/
require_once './libraries/relation.lib.php';
$cfgRelation = PMA_getRelationsParam();
-/**
- * This is to avoid "Command out of sync" errors. Before switching this to
- * a value of 0 (for MYSQLI_USE_RESULT), please check the logic
- * to free results wherever needed.
- */
-$query_default_option = PMA_DBI_QUERY_STORE;
-
/**
* Now in ./libraries/relation.lib.php we check for all tables
* that we need, but if we don't find them we are quiet about it
@@ -79,14 +72,14 @@ if ($cfgRelation['pdfwork']) {
* and tables which will be exported as Relational schema
* you can set the table positions on the paper via scratchboard
* for table positions, put the x,y co-ordinates
- *
+ *
* @param string $do It tells what the Schema is supposed to do
- * create and select a page, generate schema etc
+ * create and select a page, generate schema etc
*/
if (isset($_REQUEST['do'])) {
$user_schema->setAction($_REQUEST['do']);
$user_schema->processUserChoice();
- }
+ }
/**
* Show some possibility to select a page for the export of relation schema
@@ -96,14 +89,14 @@ if ($cfgRelation['pdfwork']) {
$user_schema->selectPage();
/**
- * Create a new page where relations will be drawn
+ * Create a new page where relations will be drawn
*/
$user_schema->showCreatePageDialog($db);
/**
- * After selection of page or creating a page
- * It will show you the list of tables
+ * After selection of page or creating a page
+ * It will show you the list of tables
* A dashboard will also be shown where you can position the tables
*/
@@ -114,7 +107,7 @@ if ($cfgRelation['pdfwork']) {
|| ($_REQUEST['do']== 'selectpage' && isset($user_schema->chosenPage) && $user_schema->chosenPage != 0)
|| ($_REQUEST['do'] == 'createpage' && isset($user_schema->chosenPage) && $user_schema->chosenPage != 0))) {
- /**
+ /**
* show Export schema generation options
*/
$user_schema->displaySchemaGenerationOptions();