Remove debugging log_message() references

This commit is contained in:
objecttothis
2023-12-05 11:46:15 +04:00
committed by jekkos
parent 2a3317a270
commit a8d67895e7

View File

@@ -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();