Commit 486748c4 authored by webchick's avatar webchick

Issue #2060815 by legolasbo: Remove Unused local variable () from...

Issue #2060815 by legolasbo: Remove Unused local variable () from /core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php.
parent cb869a00
......@@ -102,9 +102,6 @@ public function queryFieldInformation($table, $field) {
$schema = $prefixInfo['schema'];
$table_name = $prefixInfo['table'];
$field_information = (object) array(
'checks' => array(),
);
$checks = $this->connection->query("SELECT conname FROM pg_class cl INNER JOIN pg_constraint co ON co.conrelid = cl.oid INNER JOIN pg_attribute attr ON attr.attrelid = cl.oid AND attr.attnum = ANY (co.conkey) INNER JOIN pg_namespace ns ON cl.relnamespace = ns.oid WHERE co.contype = 'c' AND ns.nspname = :schema AND cl.relname = :table AND attr.attname = :column", array(
':schema' => $schema,
':table' => $table_name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment