Compare commits
2 Commits
1642ece7f4
...
cb45cf9e22
Author | SHA1 | Date | |
---|---|---|---|
|
cb45cf9e22 | ||
|
47a5f71d9b |
@ -5,6 +5,21 @@ class Device extends Template
|
|||||||
{
|
{
|
||||||
function __construct($sortBy = null, $sortType = null)
|
function __construct($sortBy = null, $sortType = null)
|
||||||
{
|
{
|
||||||
|
// //Notification data setup
|
||||||
|
// $notificationMng = new NotificationManager;
|
||||||
|
// $notificationData = [
|
||||||
|
// 'title' => 'Info',
|
||||||
|
// 'body' => 'New device Detected Found',
|
||||||
|
// 'icon' => 'http://dev.steelants.cz/projekty/simplehome-client/img/icons/favicon-16x16.png',
|
||||||
|
// ];
|
||||||
|
// //Notification for newly added Device
|
||||||
|
// if ($notificationData != []) {
|
||||||
|
// $subscribers = $notificationMng::getSubscription();
|
||||||
|
// foreach ($subscribers as $key => $subscriber) {
|
||||||
|
// $notificationMng::sendSimpleNotification(SERVERKEY, $subscriber['token'], $notificationData);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
$userManager = new UserManager();
|
$userManager = new UserManager();
|
||||||
$deviceManager = new DeviceManager();
|
$deviceManager = new DeviceManager();
|
||||||
$subDeviceManager = new SubDeviceManager();
|
$subDeviceManager = new SubDeviceManager();
|
||||||
|
@ -60,7 +60,6 @@ const UNITS = [
|
|||||||
|
|
||||||
//Notifications
|
//Notifications
|
||||||
define('SERVERKEY','');
|
define('SERVERKEY','');
|
||||||
define('SERVERVAIPKEY','');
|
|
||||||
|
|
||||||
//TODO: Po registraci vzít výchozí hodnoty
|
//TODO: Po registraci vzít výchozí hodnoty
|
||||||
//Default network Setting
|
//Default network Setting
|
||||||
|
Loading…
Reference in New Issue
Block a user