forked from urdt/ussd
remove unused setadmin store
This commit is contained in:
parent
7e448f739a
commit
eb2c73dce1
@ -62,10 +62,6 @@ func (ls *LocalHandlerService) SetDataStore(db *db.Db) {
|
||||
ls.UserdataStore = db
|
||||
}
|
||||
|
||||
func (ls *LocalHandlerService) SetAdminStore(adminstore *utils.AdminStore) {
|
||||
ls.AdminStore = adminstore
|
||||
}
|
||||
|
||||
func (ls *LocalHandlerService) GetHandler(accountService server.AccountServiceInterface) (*ussd.Handlers, error) {
|
||||
ussdHandlers, err := ussd.NewHandlers(ls.Parser, *ls.UserdataStore, ls.AdminStore, accountService)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user