mirror of
				https://github.com/nerzhul/ocsms.git
				synced 2025-10-28 00:49:11 +00:00 
			
		
		
		
	forget to remove one deprecated test
This commit is contained in:
		
							parent
							
								
									0132ca90db
								
							
						
					
					
						commit
						52b0834b3b
					
				| @ -87,11 +87,6 @@ class SmsController extends Controller { | |||||||
| 				return false; | 				return false; | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| 			if ($sms["draft"] !== "true" && $sms["draft"] !== "false") { |  | ||||||
| 				$this->errorMsg = "Error: Invalid SMS Draft state"; |  | ||||||
| 				return false; |  | ||||||
| 			} |  | ||||||
| 
 |  | ||||||
| 			if (!is_numeric($sms["date"]) && $sms["date"] != 0 && $sms["date"] != 1) { | 			if (!is_numeric($sms["date"]) && $sms["date"] != 0 && $sms["date"] != 1) { | ||||||
| 				$this->errorMsg = "Error: Invalid SMS date"; | 				$this->errorMsg = "Error: Invalid SMS date"; | ||||||
| 				return false; | 				return false; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user