mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
added argument to writeToDB to purge database entries before adding new records
This commit is contained in:
@@ -43,7 +43,7 @@ class SmsController extends Controller {
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function push ($smsCount, $smsDatas) {
|
||||
if ($this->checkPushStructure($smsCount, $smsDatas) === false) {
|
||||
if ($this->checkPushStructure($smsCount, $smsDatas, true) === false) {
|
||||
return new JSONResponse(array("status" => false, "msg" => $this->errorMsg));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user