Permalink
Browse files

Отменил подписку на say, sayto sayreply

Теперь при добавлении терминала в систему надо ставить галочку MajorApi
  • Loading branch information...
lanket committed Jul 31, 2018
1 parent 2b3692d commit 7eaab27ad77b676826a101c8d97a4be350df5095
Showing with 6 additions and 3 deletions.
  1. +6 −3 modules/mdmPiTerminal/mdmPiTerminal.class.php
@@ -234,9 +234,12 @@ function targetToIp($target='') {
* @access private
*/
function install($data='') {
subscribeToEvent($this->name, 'SAY','',10);
subscribeToEvent($this->name, 'SAYTO','',20);
subscribeToEvent($this->name, 'ASK','',20);
unsubscribeFromEvent($this->name, 'SAY');
unsubscribeFromEvent($this->name, 'SAYTO');
unsubscribeFromEvent($this->name, 'ASK');
// subscribeToEvent($this->name, 'SAY','',10);
// subscribeToEvent($this->name, 'SAYTO','',20);
// subscribeToEvent($this->name, 'ASK','',20);
parent::install();
}
/**

0 comments on commit 7eaab27

Please sign in to comment.