Commit 4eef4d40 authored by MBoretto's avatar MBoretto

Removing unusful var

parent 2d79bca4
...@@ -299,7 +299,6 @@ class Telegram ...@@ -299,7 +299,6 @@ class Telegram
default: default:
case 'text': case 'text':
// do nothing // do nothing
break; break;
case 'command': case 'command':
...@@ -310,42 +309,30 @@ class Telegram ...@@ -310,42 +309,30 @@ class Telegram
case 'new_chat_participant': case 'new_chat_participant':
// trigger new participant // trigger new participant
$command = 'new_chat_participant'; return $this->executeCommand('Newchatparticipant', $update);
return $this->executeCommand(Newchatparticipant, $update);
break; break;
case 'left_chat_participant': case 'left_chat_participant':
// trigger left chat participant // trigger left chat participant
$command = 'left_chat_participant'; return $this->executeCommand('Leftchatparticipant', $update);
return $this->executeCommand(Leftchatparticipant, $update);
break; break;
case 'new_chat_title': case 'new_chat_title':
// trigger new_chat_title // trigger new_chat_title
break; break;
case 'delete_chat_photo': case 'delete_chat_photo':
// trigger delete_chat_photo // trigger delete_chat_photo
break; break;
case 'group_chat_created': case 'group_chat_created':
// trigger group_chat_created // trigger group_chat_created
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment