mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Removing ActionS
This commit is contained in:
committed by
Dan Christian Bogos
parent
a2bde1ad6e
commit
ce915c77a6
@@ -819,26 +819,6 @@ func (iDB *InternalDB) RemoveDispatcherHostDrv(tenant, id string) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (iDB *InternalDB) GetActionProfileDrv(tenant, id string) (ap *ActionProfile, err error) {
|
||||
x, ok := Cache.Get(utils.CacheActionProfiles, utils.ConcatenatedKey(tenant, id))
|
||||
if !ok || x == nil {
|
||||
return nil, utils.ErrNotFound
|
||||
}
|
||||
return x.(*ActionProfile), nil
|
||||
}
|
||||
|
||||
func (iDB *InternalDB) SetActionProfileDrv(ap *ActionProfile) (err error) {
|
||||
Cache.SetWithoutReplicate(utils.CacheActionProfiles, ap.TenantID(), ap, nil,
|
||||
cacheCommit(utils.NonTransactional), utils.NonTransactional)
|
||||
return
|
||||
}
|
||||
|
||||
func (iDB *InternalDB) RemoveActionProfileDrv(tenant, id string) (err error) {
|
||||
Cache.RemoveWithoutReplicate(utils.CacheActionProfiles, utils.ConcatenatedKey(tenant, id),
|
||||
cacheCommit(utils.NonTransactional), utils.NonTransactional)
|
||||
return
|
||||
}
|
||||
|
||||
func (iDB *InternalDB) RemoveLoadIDsDrv() (err error) {
|
||||
return utils.ErrNotImplemented
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user