1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-11 16:32:55 +00:00

Testing pushing test datas

This commit is contained in:
Loïc Blot (@U-Exp)
2014-09-12 14:38:13 +02:00
parent 07261636e6
commit 129e627cb0
3 changed files with 45 additions and 2 deletions
+4 -1
View File
@@ -37,7 +37,10 @@ class SmsController extends Controller {
/**
* @NoAdminRequired
*/
public function push($json_datas) {
public function push($smsCount, $smsDatas) {
if ($smsCount != count($smsDatas)) {
return "ERROR";
}
return array("test" => "test2");
}