minor fixes

This commit is contained in:
Prashant Singh 2019-02-14 17:57:07 +05:30
parent 718a5eaa20
commit 621455ed48
1 changed files with 0 additions and 12 deletions

View File

@ -100,16 +100,4 @@ class ChannelRepository extends Repository
$channel->save();
}
}
public function getAllChannel() {
$data = $this->model->get()->toArray();
$channel = [];
foreach($data as $key => $value) {
$channel[$value['id']] = $value['code'];
}
return $channel;
}
}