Skip to content

Commit aa144fa

Browse files
author
okarpenko
committed
Merge branch 'MAGETWO-36897' into BUGS
2 parents 926e6f6 + 15ca649 commit aa144fa

File tree

37 files changed

+87
-87
lines changed

37 files changed

+87
-87
lines changed

app/code/Magento/Sendfriend/Block/Plugin/Catalog/Product/View.php renamed to app/code/Magento/SendFriend/Block/Plugin/Catalog/Product/View.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
namespace Magento\Sendfriend\Block\Plugin\Catalog\Product;
7+
namespace Magento\SendFriend\Block\Plugin\Catalog\Product;
88

99
class View
1010
{
1111
/**
12-
* @var \Magento\Sendfriend\Model\Sendfriend
12+
* @var \Magento\SendFriend\Model\SendFriend
1313
*/
1414
protected $_sendfriend;
1515

1616
/**
17-
* @param \Magento\Sendfriend\Model\Sendfriend $sendfriend
17+
* @param \Magento\SendFriend\Model\SendFriend $sendfriend
1818
*/
1919
public function __construct(
20-
\Magento\Sendfriend\Model\Sendfriend $sendfriend
20+
\Magento\SendFriend\Model\SendFriend $sendfriend
2121
) {
2222
$this->_sendfriend = $sendfriend;
2323
}

app/code/Magento/Sendfriend/Block/Send.php renamed to app/code/Magento/SendFriend/Block/Send.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Copyright © 2015 Magento. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
namespace Magento\Sendfriend\Block;
6+
namespace Magento\SendFriend\Block;
77

88
use Magento\Customer\Model\Context;
99

@@ -15,9 +15,9 @@
1515
class Send extends \Magento\Framework\View\Element\Template
1616
{
1717
/**
18-
* Sendfriend data
18+
* SendFriend data
1919
*
20-
* @var \Magento\Sendfriend\Helper\Data
20+
* @var \Magento\SendFriend\Helper\Data
2121
*/
2222
protected $_sendfriendData = null;
2323

@@ -44,28 +44,28 @@ class Send extends \Magento\Framework\View\Element\Template
4444
protected $_customerViewHelper;
4545

4646
/**
47-
* @var \Magento\Sendfriend\Model\Sendfriend
47+
* @var \Magento\SendFriend\Model\SendFriend
4848
*/
4949
protected $sendfriend;
5050

5151
/**
5252
* @param \Magento\Framework\View\Element\Template\Context $context
5353
* @param \Magento\Customer\Model\Session $customerSession
54-
* @param \Magento\Sendfriend\Helper\Data $sendfriendData
54+
* @param \Magento\SendFriend\Helper\Data $sendfriendData
5555
* @param \Magento\Framework\Registry $registry
5656
* @param \Magento\Customer\Helper\View $customerViewHelper
5757
* @param \Magento\Framework\App\Http\Context $httpContext
58-
* @param \Magento\Sendfriend\Model\Sendfriend $sendfriend
58+
* @param \Magento\SendFriend\Model\SendFriend $sendfriend
5959
* @param array $data
6060
*/
6161
public function __construct(
6262
\Magento\Framework\View\Element\Template\Context $context,
6363
\Magento\Customer\Model\Session $customerSession,
64-
\Magento\Sendfriend\Helper\Data $sendfriendData,
64+
\Magento\SendFriend\Helper\Data $sendfriendData,
6565
\Magento\Framework\Registry $registry,
6666
\Magento\Customer\Helper\View $customerViewHelper,
6767
\Magento\Framework\App\Http\Context $httpContext,
68-
\Magento\Sendfriend\Model\Sendfriend $sendfriend,
68+
\Magento\SendFriend\Model\SendFriend $sendfriend,
6969
array $data = []
7070
) {
7171
$this->_customerSession = $customerSession;

app/code/Magento/Sendfriend/Controller/Product.php renamed to app/code/Magento/SendFriend/Controller/Product.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Copyright © 2015 Magento. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
namespace Magento\Sendfriend\Controller;
6+
namespace Magento\SendFriend\Controller;
77

88
use Magento\Framework\Exception\NotFoundException;
99
use Magento\Framework\App\RequestInterface;
@@ -29,7 +29,7 @@ class Product extends \Magento\Framework\App\Action\Action
2929
protected $_formKeyValidator;
3030

3131
/**
32-
* @var \Magento\Sendfriend\Model\Sendfriend
32+
* @var \Magento\SendFriend\Model\SendFriend
3333
*/
3434
protected $sendFriend;
3535

@@ -40,14 +40,14 @@ class Product extends \Magento\Framework\App\Action\Action
4040
* @param \Magento\Framework\App\Action\Context $context
4141
* @param \Magento\Framework\Registry $coreRegistry
4242
* @param \Magento\Framework\Data\Form\FormKey\Validator $formKeyValidator
43-
* @param \Magento\Sendfriend\Model\Sendfriend $sendFriend
43+
* @param \Magento\SendFriend\Model\SendFriend $sendFriend
4444
* @param \Magento\Catalog\Api\ProductRepositoryInterface $productRepository
4545
*/
4646
public function __construct(
4747
\Magento\Framework\App\Action\Context $context,
4848
\Magento\Framework\Registry $coreRegistry,
4949
\Magento\Framework\Data\Form\FormKey\Validator $formKeyValidator,
50-
\Magento\Sendfriend\Model\Sendfriend $sendFriend,
50+
\Magento\SendFriend\Model\SendFriend $sendFriend,
5151
\Magento\Catalog\Api\ProductRepositoryInterface $productRepository
5252
) {
5353
parent::__construct($context);
@@ -67,8 +67,8 @@ public function __construct(
6767
*/
6868
public function dispatch(RequestInterface $request)
6969
{
70-
/* @var $helper \Magento\Sendfriend\Helper\Data */
71-
$helper = $this->_objectManager->get('Magento\Sendfriend\Helper\Data');
70+
/* @var $helper \Magento\SendFriend\Helper\Data */
71+
$helper = $this->_objectManager->get('Magento\SendFriend\Helper\Data');
7272
/* @var $session \Magento\Customer\Model\Session */
7373
$session = $this->_objectManager->get('Magento\Customer\Model\Session');
7474

app/code/Magento/Sendfriend/Controller/Product/Send.php renamed to app/code/Magento/SendFriend/Controller/Product/Send.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
* Copyright © 2015 Magento. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
namespace Magento\Sendfriend\Controller\Product;
6+
namespace Magento\SendFriend\Controller\Product;
77

88
use Magento\Framework\Controller\ResultFactory;
99

10-
class Send extends \Magento\Sendfriend\Controller\Product
10+
class Send extends \Magento\SendFriend\Controller\Product
1111
{
1212
/**
1313
* Show Send to a Friend Form

app/code/Magento/Sendfriend/Controller/Product/Sendmail.php renamed to app/code/Magento/SendFriend/Controller/Product/Sendmail.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
// @codingStandardsIgnoreFile
88

9-
namespace Magento\Sendfriend\Controller\Product;
9+
namespace Magento\SendFriend\Controller\Product;
1010

1111
use Magento\Framework\Exception\NoSuchEntityException;
1212
use Magento\Framework\Controller\ResultFactory;
1313

14-
class Sendmail extends \Magento\Sendfriend\Controller\Product
14+
class Sendmail extends \Magento\SendFriend\Controller\Product
1515
{
1616
/** @var \Magento\Catalog\Api\CategoryRepositoryInterface */
1717
protected $categoryRepository;
@@ -20,15 +20,15 @@ class Sendmail extends \Magento\Sendfriend\Controller\Product
2020
* @param \Magento\Framework\App\Action\Context $context
2121
* @param \Magento\Framework\Registry $coreRegistry
2222
* @param \Magento\Framework\Data\Form\FormKey\Validator $formKeyValidator
23-
* @param \Magento\Sendfriend\Model\Sendfriend $sendFriend
23+
* @param \Magento\SendFriend\Model\SendFriend $sendFriend
2424
* @param \Magento\Catalog\Api\ProductRepositoryInterface $productRepository
2525
* @param \Magento\Catalog\Api\CategoryRepositoryInterface $categoryRepository
2626
*/
2727
public function __construct(
2828
\Magento\Framework\App\Action\Context $context,
2929
\Magento\Framework\Registry $coreRegistry,
3030
\Magento\Framework\Data\Form\FormKey\Validator $formKeyValidator,
31-
\Magento\Sendfriend\Model\Sendfriend $sendFriend,
31+
\Magento\SendFriend\Model\SendFriend $sendFriend,
3232
\Magento\Catalog\Api\ProductRepositoryInterface $productRepository,
3333
\Magento\Catalog\Api\CategoryRepositoryInterface $categoryRepository
3434
) {

app/code/Magento/Sendfriend/Helper/Data.php renamed to app/code/Magento/SendFriend/Helper/Data.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
// @codingStandardsIgnoreFile
88

9-
namespace Magento\Sendfriend\Helper;
9+
namespace Magento\SendFriend\Helper;
1010

1111
/**
12-
* Sendfriend Data Helper
12+
* SendFriend Data Helper
1313
*
1414
* @author Magento Core Team <core@magentocommerce.com>
1515
*/

app/code/Magento/Sendfriend/Model/Resource/Sendfriend.php renamed to app/code/Magento/SendFriend/Model/Resource/SendFriend.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
* Copyright © 2015 Magento. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
namespace Magento\Sendfriend\Model\Resource;
6+
namespace Magento\SendFriend\Model\Resource;
77

88
/**
99
* SendFriend Log Resource Model
1010
*
1111
* @author Magento Core Team <core@magentocommerce.com>
1212
*/
13-
class Sendfriend extends \Magento\Framework\Model\Resource\Db\AbstractDb
13+
class SendFriend extends \Magento\Framework\Model\Resource\Db\AbstractDb
1414
{
1515
/**
1616
* Initialize connection and table
@@ -25,7 +25,7 @@ protected function _construct()
2525
/**
2626
* Retrieve Sended Emails By Ip
2727
*
28-
* @param \Magento\Sendfriend\Model\Sendfriend $object
28+
* @param \Magento\SendFriend\Model\SendFriend $object
2929
* @param int $ip
3030
* @param int $startTime
3131
* @param int $websiteId

app/code/Magento/Sendfriend/Model/Resource/Sendfriend/Collection.php renamed to app/code/Magento/SendFriend/Model/Resource/SendFriend/Collection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* Copyright © 2015 Magento. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
namespace Magento\Sendfriend\Model\Resource\Sendfriend;
6+
namespace Magento\SendFriend\Model\Resource\SendFriend;
77

88
/**
9-
* Sendfriend log resource collection
9+
* SendFriend log resource collection
1010
*
1111
* @author Magento Core Team <core@magentocommerce.com>
1212
*/
@@ -19,6 +19,6 @@ class Collection extends \Magento\Framework\Model\Resource\Db\Collection\Abstrac
1919
*/
2020
protected function _construct()
2121
{
22-
$this->_init('Magento\Sendfriend\Model\Sendfriend', 'Magento\Sendfriend\Model\Resource\Sendfriend');
22+
$this->_init('Magento\SendFriend\Model\SendFriend', 'Magento\SendFriend\Model\Resource\SendFriend');
2323
}
2424
}

0 commit comments

Comments
 (0)