mirror of
https://github.com/vrana/adminer.git
synced 2025-08-26 15:54:34 +02:00
Hide routine language if not required
This commit is contained in:
@@ -768,7 +768,7 @@ if (!defined("DRIVER")) {
|
||||
* @return array
|
||||
*/
|
||||
function routine_languages() {
|
||||
return array("SQL");
|
||||
return array(); // "SQL" not required
|
||||
}
|
||||
|
||||
/** Begin transaction
|
||||
|
@@ -475,6 +475,10 @@ if (isset($_GET["sqlite"]) || isset($_GET["sqlite2"])) {
|
||||
// not supported by SQLite
|
||||
}
|
||||
|
||||
function routine_languages() {
|
||||
// not supported by SQLite
|
||||
}
|
||||
|
||||
function begin() {
|
||||
return queries("BEGIN");
|
||||
}
|
||||
|
Reference in New Issue
Block a user