Compare commits
No commits in common. "cb45cf9e22c3717dc3ee51848459270b857d6ce8" and "1642ece7f4db5852790b9419e2b19cc0ef1480f6" have entirely different histories.
cb45cf9e22
...
1642ece7f4
@ -5,21 +5,6 @@ class Device extends Template
|
||||
{
|
||||
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();
|
||||
$deviceManager = new DeviceManager();
|
||||
$subDeviceManager = new SubDeviceManager();
|
||||
|
@ -60,6 +60,7 @@ const UNITS = [
|
||||
|
||||
//Notifications
|
||||
define('SERVERKEY','');
|
||||
define('SERVERVAIPKEY','');
|
||||
|
||||
//TODO: Po registraci vzít výchozí hodnoty
|
||||
//Default network Setting
|
||||
|
Loading…
Reference in New Issue
Block a user