mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-02 06:14:51 -04:00
Added calls to deleteOrphanedValues()
Signed-off-by: objec <objecttothis@gmail.com>
This commit is contained in:
@@ -1050,6 +1050,7 @@ class Items extends Secure_Controller
|
||||
return $this->response->setJSON(['success' => false, 'message' => $message]);
|
||||
} else {
|
||||
$db->transCommit();
|
||||
$this->attribute->deleteOrphanedValues();
|
||||
|
||||
return $this->response->setJSON(['success' => true, 'message' => lang('Items.csv_import_success')]);
|
||||
}
|
||||
@@ -1388,5 +1389,7 @@ class Items extends Secure_Controller
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$this->attribute->deleteOrphanedValues();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user