File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
app/code/Magento/Backup/Controller/Adminhtml Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 6
6
namespace Magento \Backup \Controller \Adminhtml ;
7
7
8
8
use Magento \Backend \App \Action ;
9
- use Magento \Framework \App \Action \HttpGetActionInterface ;
10
9
use Magento \Backup \Helper \Data as Helper ;
11
10
use Magento \Framework \App \ObjectManager ;
12
11
18
17
* @since 100.0.2
19
18
* @SuppressWarnings(PHPMD.AllPurposeAction)
20
19
*/
21
- abstract class Index extends Action implements HttpGetActionInterface
20
+ abstract class Index extends Action
22
21
{
23
22
/**
24
23
* Authorization level of a basic admin session
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- *
4
3
* Copyright © Magento, Inc. All rights reserved.
5
4
* See COPYING.txt for license details.
6
5
*/
7
6
namespace Magento \Backup \Controller \Adminhtml \Index ;
8
7
8
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
9
9
use Magento \Framework \App \Filesystem \DirectoryList ;
10
10
use Magento \Framework \Filesystem ;
11
11
12
- class Create extends \Magento \Backup \Controller \Adminhtml \Index
12
+ /**
13
+ * Create backup controller
14
+ */
15
+ class Create extends \Magento \Backup \Controller \Adminhtml \Index implements HttpPostActionInterface
13
16
{
14
17
/**
15
18
* Create backup action.
You can’t perform that action at this time.
0 commit comments