mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
Added more tests and link some files. Update DB Scheme
This commit is contained in:
@@ -15,6 +15,7 @@ namespace OCA\OcSms\Controller;
|
||||
use \OCP\IRequest;
|
||||
use \OCP\AppFramework\Http\TemplateResponse;
|
||||
use \OCP\AppFramework\Controller;
|
||||
use OCA\OcSms\Db\SmsMgr;
|
||||
|
||||
class SmsController extends Controller {
|
||||
|
||||
@@ -70,6 +71,7 @@ class SmsController extends Controller {
|
||||
return "Error: Invalid SMS date";
|
||||
}
|
||||
|
||||
$smsMgr = new SmsMgr();
|
||||
// @ TODO: test address and body ?
|
||||
}
|
||||
return "OK";
|
||||
|
||||
Reference in New Issue
Block a user