mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-18 05:18:05 -04:00
Remove debugging log_message() references
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user