From a8d67895e767551d0ee57359a27a33829df82bb6 Mon Sep 17 00:00:00 2001 From: objecttothis Date: Tue, 5 Dec 2023 11:46:15 +0400 Subject: [PATCH] Remove debugging log_message() references --- app/Models/Attribute.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Models/Attribute.php b/app/Models/Attribute.php index 3f09213ec..dea762d6d 100644 --- a/app/Models/Attribute.php +++ b/app/Models/Attribute.php @@ -552,7 +552,6 @@ class Attribute extends Model */ public function save_link(int $item_id, int $definition_id, int $attribute_id): bool { - log_message('error', "saving link: definition - $definition_id, item - $item_id, attribute_id - $attribute_id" ); $this->db->transStart(); $builder = $this->db->table('attribute_links'); @@ -575,7 +574,6 @@ class Attribute extends Model $builder->insert($data); } - log_message('error', 'save_link result: ' . $this->db->transStatus()); $this->db->transComplete(); return $this->db->transStatus(); @@ -821,8 +819,6 @@ class Attribute extends Model $builder->where('attribute_id', $attribute_id); $builder->update(); } - log_message('error', "saving value: $attribute_value"); - log_message('error', 'save_value result: ' . $this->db->transStatus()); $this->db->transComplete();