More sensible error message

This commit is contained in:
Michal Čihař 2013-04-25 15:18:27 +02:00
parent 67e115fb37
commit e5a5913009

View File

@ -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