Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'remove-code-marked-as-deprecated' of https://github.com…
Browse files Browse the repository at this point in the history
…/Maks3w/zf2 into feature/deprecation-removal

Conflicts:
	library/Zend/GData/YouTube/Extension/Description.php
	library/Zend/GData/YouTube/Extension/Racy.php
  • Loading branch information
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/Server/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,29 +256,6 @@ public function getResponse()
return $this->_response;
}

/**
* Set flag indicating whether or not to auto-emit response
*
* @param bool $flag
* @return Server
* @deprecated Left just for BC, drop it as soon as not used by anyone - use setReturnResponse() with negation instead.
*/
public function setAutoEmitResponse($flag)
{
return $this->setReturnResponse(!$flag);
}

/**
* Will we auto-emit the response?
*
* @return bool
* @deprecated Left just for BC, drop it as soon as not used by anyone - use getReturnResponse() with negation instead.
*/
public function autoEmitResponse()
{
return !$this->getReturnResponse();
}

/**
* Set return response flag
*
Expand Down

0 comments on commit 391fc7d

Please sign in to comment.