remove debug
This commit is contained in:
parent
431c971f3a
commit
41b981cb70
@ -29,7 +29,6 @@ class Message
|
|||||||
$mikrotik = Mikrotik::info($config['sms_url']);
|
$mikrotik = Mikrotik::info($config['sms_url']);
|
||||||
$client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']);
|
$client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']);
|
||||||
Mikrotik::sendSMS($client, $phone, $txt);
|
Mikrotik::sendSMS($client, $phone, $txt);
|
||||||
die("mikrotik");
|
|
||||||
}catch(Exception $e){
|
}catch(Exception $e){
|
||||||
// ignore, add to logs
|
// ignore, add to logs
|
||||||
_log("Failed to send SMS using Mikrotik.\n". $e->getMessage(), 'SMS', 0);
|
_log("Failed to send SMS using Mikrotik.\n". $e->getMessage(), 'SMS', 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user