From 4ba3adfae9e9d746545478c36c08dd26942bec37 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 5 Apr 2017 22:39:56 +0300 Subject: [PATCH] Working on speech rec --- app/Ninja/Intents/BaseIntent.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/Ninja/Intents/BaseIntent.php b/app/Ninja/Intents/BaseIntent.php index b215ca4d5cae..cce46d7db7ba 100644 --- a/app/Ninja/Intents/BaseIntent.php +++ b/app/Ninja/Intents/BaseIntent.php @@ -80,13 +80,6 @@ class BaseIntent return new $className($state, $data); } - protected function hasField($field, $value = false) - { - $fieldValue = $this->getField($field); - - return $value ? $value == $fieldValue : !!$fieldValue; - } - protected function getField($field) { foreach ($this->data->entities as $entity) {