More sensible error message
This commit is contained in:
parent
67e115fb37
commit
e5a5913009
@ -79,7 +79,7 @@ if (PMA_Util::isForeignKeySupported($type_T1)
|
||||
}
|
||||
} else { // internal (pmadb) relation
|
||||
if ($GLOBALS['cfgRelation']['relwork'] == false) {
|
||||
PMD_return_new(0, __('General relation features:') . ' ' . __('Disabled'));
|
||||
PMD_return_new(0, __('Relation features are disabled!'));
|
||||
} else {
|
||||
// no need to recheck if the keys are primary or unique at this point,
|
||||
// this was checked on the interface part
|
||||
|
||||
Loading…
Reference in New Issue
Block a user