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