remove some unused variables

This commit is contained in:
Manuel Raynaud
2014-01-22 15:50:40 +01:00
parent 1974d3e3c3
commit 1b2c1d53ac
40 changed files with 82 additions and 182 deletions

View File

@@ -58,7 +58,6 @@ class Config extends BaseAction implements EventSubscriberInterface
*/
public function setValue(ConfigUpdateEvent $event)
{
$search = ConfigQuery::create();
if (null !== $config = $search->findPk($event->getConfigId())) {
@@ -78,7 +77,6 @@ class Config extends BaseAction implements EventSubscriberInterface
*/
public function modify(ConfigUpdateEvent $event)
{
$search = ConfigQuery::create();
if (null !== $config = ConfigQuery::create()->findPk($event->getConfigId())) {