diff options
author | Marc Delisle <marc@infomarc.info> | 2014-09-21 15:34:44 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2014-09-21 15:34:44 +0400 |
commit | 27b9e16dc6b3f5708d6e9d6857cae500015e9dd2 (patch) | |
tree | 93e52374c49dbb00cbd2e385e98719c07aee929e /db_datadict.php | |
parent | 73d376d14a3e68f05ac993e5603a8d0bbb41dd0b (diff) |
Remove unneeded code
Signed-off-by: Marc Delisle <marc@infomarc.info>
Diffstat (limited to 'db_datadict.php')
-rw-r--r-- | db_datadict.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/db_datadict.php b/db_datadict.php index 1d2ee54ecb..5eb84dc68a 100644 --- a/db_datadict.php +++ b/db_datadict.php @@ -36,11 +36,7 @@ PMA_Util::checkParameters(array('db')); /** * Defines the url to return to in case of error in a sql statement */ -if ($GLOBALS['PMA_String']->strlen($table)) { - $err_url = 'tbl_sql.php?' . PMA_URL_getCommon($db, $table); -} else { - $err_url = 'db_sql.php?' . PMA_URL_getCommon($db); -} +$err_url = 'db_sql.php?' . PMA_URL_getCommon($db); if ($cfgRelation['commwork']) { $comment = PMA_getDbComment($db); |