From ad4fea7d708e0a2d6440bfe19def85dc417b18c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 23 Nov 2020 12:45:43 +0100 Subject: [PATCH] Deprecated PreparedStatement::fetchList() Resolves #3742 --- .../system/database/statement/PreparedStatement.class.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php b/wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php index 37e43df7ae..e83091bed0 100644 --- a/wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php +++ b/wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php @@ -242,11 +242,7 @@ class PreparedStatement { } /** - * Returns a one-dimensional list of all rows holding only the value of the specified column. Please see - * `fetchAll()` if you simply want to read all rows into an array. - * - * @param string $column - * @return string[]|int[]|float[] + * @deprecated 5.4 - Use ->fetchAll(\PDO::FETCH_COLUMN) */ public function fetchList($column) { $list = []; -- 2.20.1