mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-21 05:13:18 +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)) {
|
if ($smsCount != count($smsDatas)) {
|
||||||
return "Error: sms count invalid";
|
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