From db24e8e8711b30abdbdc9def9ca248b39348006d Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 28 Sep 2020 21:09:10 +0200 Subject: [PATCH] Fix nullCache backends --- src/danog/MadelineProto/Db/NullCache/MysqlArray.php | 4 ++-- src/danog/MadelineProto/Db/NullCache/PostgresArray.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/danog/MadelineProto/Db/NullCache/MysqlArray.php b/src/danog/MadelineProto/Db/NullCache/MysqlArray.php index 1fb87d8d..798d72fc 100644 --- a/src/danog/MadelineProto/Db/NullCache/MysqlArray.php +++ b/src/danog/MadelineProto/Db/NullCache/MysqlArray.php @@ -2,9 +2,9 @@ namespace danog\MadelineProto\Db\NullCache; -use danog\MadelineProto\Settings\Database\Mysql; +use danog\MadelineProto\Db\MysqlArray as DbMysqlArray; -class MysqlArray extends Mysql +class MysqlArray extends DbMysqlArray { use NullCacheTrait; } diff --git a/src/danog/MadelineProto/Db/NullCache/PostgresArray.php b/src/danog/MadelineProto/Db/NullCache/PostgresArray.php index 1259c735..3d551064 100644 --- a/src/danog/MadelineProto/Db/NullCache/PostgresArray.php +++ b/src/danog/MadelineProto/Db/NullCache/PostgresArray.php @@ -2,9 +2,9 @@ namespace danog\MadelineProto\Db\NullCache; -use danog\MadelineProto\Settings\Database\Postgres; +use danog\MadelineProto\Db\PostgresArray as DbPostgresArray; -class PostgresArray extends Postgres +class PostgresArray extends DbPostgresArray { use NullCacheTrait; }