mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-11 01:46:13 +00:00
rename saveAll
This commit is contained in:
parent
c85967ca75
commit
cfc94b253f
@ -21,7 +21,7 @@ class SmsMapper extends Mapper {
|
||||
}
|
||||
|
||||
// @TODO
|
||||
public function saveAll($userId, $smsList) {
|
||||
public function writeToDB($userId, $smsList) {
|
||||
foreach ($smsList as $sms) {
|
||||
$smsFlags = sprintf("%s%s",
|
||||
$sms["read"] === "true" ? "1" : "0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user