mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 01:54:00 +02:00
Delete unused variable and method
This commit is contained in:
@@ -581,16 +581,6 @@ if (!defined("DRIVER")) {
|
||||
return h(preg_replace('~^You have an error.*syntax to use~U', "Syntax error", $connection->error));
|
||||
}
|
||||
|
||||
/** Get line of error
|
||||
* @return int 0 for first line
|
||||
*/
|
||||
function error_line() {
|
||||
global $connection;
|
||||
if (preg_match('~ at line ([0-9]+)$~', $connection->error, $regs)) {
|
||||
return $regs[1] - 1;
|
||||
}
|
||||
}
|
||||
|
||||
/** Create database
|
||||
* @param string
|
||||
* @param string
|
||||
|
Reference in New Issue
Block a user