From 73082b576be7bbcff2fbf75b3117d32fd5e14cc9 Mon Sep 17 00:00:00 2001 From: iglocska Date: Tue, 5 Mar 2024 08:17:14 +0100 Subject: [PATCH] fix: [junk removal] --- app/Model/Log.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Model/Log.php b/app/Model/Log.php index dd1f13853..d69fb821d 100644 --- a/app/Model/Log.php +++ b/app/Model/Log.php @@ -146,7 +146,6 @@ class Log extends AppModel } } $this->logData($this->data); - $matches = null; $regex = '/uuid.\([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}\).=>/'; if (preg_match($regex, $this->data['Log']['change'])) { $controller = Configure::check('CurrentController') ? Configure::read('CurrentController') : 'SYSTEM';