mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-24 14:45:43 +00:00
forget to remove one deprecated test
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user