From b0c4326e9ee3e8684c77e0122dbe2a4bc9278699 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Tue, 6 Dec 2016 15:05:29 +0100 Subject: [PATCH] Avoid the ::class construct We're still on PHP 5.3 for the 5.7 series --- web/concrete/src/Utility/Service/Identifier.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/web/concrete/src/Utility/Service/Identifier.php b/web/concrete/src/Utility/Service/Identifier.php index a5e8620f631..fa8c9a741fa 100644 --- a/web/concrete/src/Utility/Service/Identifier.php +++ b/web/concrete/src/Utility/Service/Identifier.php @@ -1,7 +1,6 @@ getString($length); if ($lowercase) { @@ -103,7 +102,7 @@ public function getString($length = 12) public function deleteKey($table, $keyCol, $uHash) { - $db = Application::make(Connection::class); + $db = Application::make('Concrete\Core\Database\Connection\Connection'); $db->Execute("DELETE FROM " . $table . " WHERE " . $keyCol . "=?", array($uHash)); } }