1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-11 01:46:13 +00:00

rename saveAll

This commit is contained in:
Ner'zhul 2014-09-15 13:27:30 +02:00
parent c85967ca75
commit cfc94b253f

View File

@ -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",