mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-07 16:06:15 +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;
|
||||
}
|
||||
|
||||
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) {
|
||||
$this->errorMsg = "Error: Invalid SMS date";
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user