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:
authorMadhura Jayaratne <madhura.cj@gmail.com>2011-09-23 07:13:41 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2011-09-23 07:13:41 +0400
commite67a0a2531fff325477c5babcfffbf205ca755b3 (patch)
tree72ee9b0d6f6fe17a6189ddc46e363d408f59b2df /pmd_relation_new.php
parentac088aaee0194f28f435b63b978db96426cda642 (diff)
Spaces between parameters in function calls
Diffstat (limited to 'pmd_relation_new.php')
-rw-r--r--pmd_relation_new.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/pmd_relation_new.php b/pmd_relation_new.php
index a171658661..c0a6ad8d7c 100644
--- a/pmd_relation_new.php
+++ b/pmd_relation_new.php
@@ -24,7 +24,7 @@ if (PMA_foreignkey_supported($type_T1) && PMA_foreignkey_supported($type_T2) &&
$existrel_foreign = PMA_getForeigners($db, $T2, '', 'foreign');
if (isset($existrel_foreign[$F2])
&& isset($existrel_foreign[$F2]['constraint'])) {
- PMD_return_new(0,__('Error: relation already exists.'));
+ PMD_return_new(0, __('Error: relation already exists.'));
}
// note: in InnoDB, the index does not requires to be on a PRIMARY
// or UNIQUE key
@@ -56,8 +56,8 @@ if (PMA_foreignkey_supported($type_T1) && PMA_foreignkey_supported($type_T2) &&
if ($on_update != 'nix') {
$upd_query .= ' ON UPDATE ' . $on_update;
}
- PMA_DBI_try_query($upd_query) or PMD_return_new(0,__('Error: Relation not added.'));
- PMD_return_new(1,__('FOREIGN KEY relation added'));
+ PMA_DBI_try_query($upd_query) or PMD_return_new(0, __('Error: Relation not added.'));
+ PMD_return_new(1, __('FOREIGN KEY relation added'));
}
// internal (pmadb) relation
@@ -78,7 +78,7 @@ if (PMA_foreignkey_supported($type_T1) && PMA_foreignkey_supported($type_T2) &&
. '\'' . PMA_sqlAddSlashes($T1) . '\','
. '\'' . PMA_sqlAddSlashes($F1) . '\')';
- if (PMA_query_as_controluser($q , false, PMA_DBI_QUERY_STORE)) {
+ if (PMA_query_as_controluser($q, false, PMA_DBI_QUERY_STORE)) {
PMD_return_new(1, __('Internal relation added'));
} else {
PMD_return_new(0, __('Error: Relation not added.'));