From bf3cfda209d9ee442f675eedd2f85a3c1da23952 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Tue, 11 Oct 2016 10:45:15 +0200 Subject: [PATCH] Response: rename setMetaDataFrom() to copyMetaDataFrom() refs #12583 --- library/Icinga/Web/Response.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Icinga/Web/Response.php b/library/Icinga/Web/Response.php index 7e0b89693..af3e1e27e 100644 --- a/library/Icinga/Web/Response.php +++ b/library/Icinga/Web/Response.php @@ -213,7 +213,7 @@ class Response extends Zend_Controller_Response_Http public function json() { $response = new JsonResponse(); - $response->setMetaDataFrom($this); + $response->copyMetaDataFrom($this); return $response; } @@ -302,7 +302,7 @@ class Response extends Zend_Controller_Response_Http * * @return $this */ - protected function setMetaDataFrom(self $response) + protected function copyMetaDataFrom(self $response) { $this->_headers = $response->_headers; $this->_headersRaw = $response->_headersRaw;