Issue #3210888 by longwave: Undefined static method Drupal\Core\Database\Connection::serialize()
(cherry picked from commit 39110888d9
)
merge-requests/674/head
parent
7b547668be
commit
7d63c1f7e4
|
@ -200,19 +200,6 @@ class Connection extends DatabaseConnection {
|
||||||
return $pdo;
|
return $pdo;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* {@inheritdoc}
|
|
||||||
*/
|
|
||||||
public function serialize() {
|
|
||||||
// Cleanup the connection, much like __destruct() does it as well.
|
|
||||||
if ($this->needsCleanup) {
|
|
||||||
$this->nextIdDelete();
|
|
||||||
}
|
|
||||||
$this->needsCleanup = FALSE;
|
|
||||||
|
|
||||||
return parent::serialize();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue