mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
Prepare loop for testing sms datas
This commit is contained in:
@@ -41,7 +41,12 @@ class SmsController extends Controller {
|
||||
if ($smsCount != count($smsDatas)) {
|
||||
return "Error: sms count invalid";
|
||||
}
|
||||
return array("test" => "test2");
|
||||
|
||||
$buf = "";
|
||||
foreach ($sms in $smsDatas) {
|
||||
$buf .= $sms["id"];
|
||||
}
|
||||
return $buf;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user