From b8fd3df2e62dccadabf1855c54ec605504205727 Mon Sep 17 00:00:00 2001 From: djmaze Date: Tue, 2 Mar 2021 14:33:11 +0100 Subject: [PATCH] Issue #51 check if PDO is supported --- plugins/change-password/drivers/pdo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/change-password/drivers/pdo.php b/plugins/change-password/drivers/pdo.php index 0a40632af..f4b6f07e7 100644 --- a/plugins/change-password/drivers/pdo.php +++ b/plugins/change-password/drivers/pdo.php @@ -32,7 +32,7 @@ class ChangePasswordDriverPDO public static function isSupported() : bool { - return true; + return \class_exists('PDO', false); } public static function configMapping() : array