From 8e19ace7e5615216406d40abd6df113baf86ab2d Mon Sep 17 00:00:00 2001 From: jessevz Date: Mon, 16 Mar 2026 09:07:56 +0100 Subject: [PATCH] Removed not working transaction for updating hash length --- src/inc/Util.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/inc/Util.php b/src/inc/Util.php index 75863d6f5..e5597293e 100755 --- a/src/inc/Util.php +++ b/src/inc/Util.php @@ -1442,7 +1442,6 @@ public static function setMaxHashLength($limit) { } $DB = Factory::getAgentFactory()->getDB(); - $DB->beginTransaction(); $result = $DB->query("SELECT MAX(LENGTH(" . Hash::HASH . ")) as maxLength FROM " . Factory::getHashFactory()->getModelTable()); $maxLength = $result->fetch()['maxLength']; if ($limit >= $maxLength) { @@ -1457,7 +1456,6 @@ public static function setMaxHashLength($limit) { else { return false; } - $DB->commit(); return true; }