mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Add meta_hidden to adapters
This commit is contained in:
parent
c713a4419a
commit
c0c79781bf
9 changed files with 80 additions and 1 deletions
|
@ -77,6 +77,15 @@ class OctopushShortcodeAdapter implements AdapterInterface
|
|||
{
|
||||
return 'octopush_shortcode_adapter';
|
||||
}
|
||||
|
||||
/**
|
||||
* Should this adapter be hidden in user interface for phone creation and
|
||||
* available to creation through API only
|
||||
*/
|
||||
public static function meta_hidden(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the adapter.
|
||||
|
@ -393,7 +402,7 @@ class OctopushShortcodeAdapter implements AdapterInterface
|
|||
$response = [
|
||||
'error' => false,
|
||||
'error_message' => null,
|
||||
'uid' => null,
|
||||
'sms' => null,
|
||||
];
|
||||
|
||||
header('Connection: close');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue