1
0
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:
Loïc Blot (@U-Exp) 2014-09-12 19:45:23 +02:00
parent 0132ca90db
commit 52b0834b3b

View File

@ -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;