diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-06-30 22:12:06 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-06-30 23:46:22 +0200 |
commit | 87dd760a89891d15f75175e5caa43a3983a28d38 (patch) | |
tree | b9365127a8f6856044739f32329d88e14684ee8a /apps/settings/lib/Controller | |
parent | 43216f0ac9e3841747019b8c2def0c58e71b8cca (diff) | |
download | nextcloud-server-87dd760a89891d15f75175e5caa43a3983a28d38.tar.gz nextcloud-server-87dd760a89891d15f75175e5caa43a3983a28d38.zip |
Replace TYPE with TYPES
As TYPE::* is deprecated.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/settings/lib/Controller')
-rw-r--r-- | apps/settings/lib/Controller/CheckSetupController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php index 603a1941336..3fd4407f7c9 100644 --- a/apps/settings/lib/Controller/CheckSetupController.php +++ b/apps/settings/lib/Controller/CheckSetupController.php @@ -42,7 +42,7 @@ use bantu\IniGetWrapper\IniGetWrapper; use DirectoryIterator; use Doctrine\DBAL\DBALException; use Doctrine\DBAL\Platforms\SqlitePlatform; -use Doctrine\DBAL\Types\Type; +use Doctrine\DBAL\Types\Types; use GuzzleHttp\Exception\ClientException; use OC; use OC\AppFramework\Http; @@ -634,7 +634,7 @@ Raw output $column = $table->getColumn($columnName); $isAutoIncrement = $column->getAutoincrement(); $isAutoIncrementOnSqlite = $isSqlite && $isAutoIncrement; - if ($column->getType()->getName() !== Type::BIGINT && !$isAutoIncrementOnSqlite) { + if ($column->getType()->getName() !== Types::BIGINT && !$isAutoIncrementOnSqlite) { $pendingColumns[] = $tableName . '.' . $columnName; } } |