Przeglądaj źródła

Se borraron variables que no se usan

Guillermo Espinoza 7 lat temu
rodzic
commit
41e3b9135d
1 zmienionych plików z 0 dodań i 17 usunięć
  1. 0 17
      Services/LogConsumer.php

+ 0 - 17
Services/LogConsumer.php

@@ -4,22 +4,11 @@ namespace WorkflowBundle\Services;
 
 use OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface;
 use PhpAmqpLib\Message\AMQPMessage;
-use WebserviceBundle\Services\Webservice;
 use Symfony\Component\DependencyInjection\ContainerInterface;
 
 class LogConsumer implements ConsumerInterface
 {
 
-    /**
-     * @var Webservice
-     */
-    protected $webservice = null;
-
-    /**
-     * @var string
-     */
-    protected $logPostUrl = null;
-
     /**
      * @var ContainerInterface
      */
@@ -32,12 +21,6 @@ class LogConsumer implements ConsumerInterface
     public function __construct(ContainerInterface $serviceContainer)
     {
         $this->serviceContainer = $serviceContainer;
-        if ($serviceContainer->has('webservice')) {
-            $this->webservice = $serviceContainer->get('webservice');
-        }
-        if ($serviceContainer->hasParameter('log_post_url')) {
-            $this->logPostUrl = $serviceContainer->getParameter('log_post_url');
-        }
     }
 
     /**