Skip to content

Commit

Permalink
Removed debug comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
istaveren committed Apr 24, 2012
1 parent bba004d commit 8346c7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
10 changes: 2 additions & 8 deletions Entity/TaskCallableOnObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,12 @@ public function execute($em = null)
$obj = $this->getObject();
if ($em && method_exists($obj, 'setEntityManager'))
{
$obj = clone $obj;
$obj->setEntityManager($em);
}

//$this->call(array( $obj, $this->getCallable()));
$this->call(array($obj, $this->getCallable()));

unset($obj);
$strReturn = $this->postExecute($timeStart);

//$em->persist($this);

return $strReturn;
return $this->postExecute($timeStart);
}

/**
Expand Down
4 changes: 1 addition & 3 deletions Entity/TaskGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ public function setFailureOccured($failureOccured)
public function execute($em = null, $stopOnFailure = false)
{
$failureOccured = false;
// \Doctrine\Common\Util\Debug::dump($this);


foreach ($this->tasks as $task)
{
$timeStart = Tools::timeInMicroseconds();
Expand Down Expand Up @@ -169,7 +168,6 @@ public function execute($em = null, $stopOnFailure = false)
if (isset($em))
{
$em->persist($task);
\Doctrine\Common\Util\Debug::dump($task);
$em->flush();
}

Expand Down

0 comments on commit 8346c7a

Please sign in to comment.