This repository was archived by the owner on Sep 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,9 @@ public function createAssetstoreForm($action = 'assetstore/add')
45
45
46
46
// Assetstore type
47
47
$ assetstoretypes = array ('0 ' => $ this ->t ('Managed by MIDAS ' ),
48
- '1 ' => $ this ->t ('Remotely linked ' ),
49
- '2 ' => $ this ->t ('Amazon S3 ' ));
48
+ '1 ' => $ this ->t ('Remotely linked ' ));
49
+ // Amazon support is not yet implemented, don't present it as an option
50
+ // '2' => $this->t('Amazon S3'));
50
51
51
52
$ assetstoretype = new Zend_Form_Element_Select ('type ' , array ('id ' => 'assetstoretype ' ));
52
53
$ assetstoretype ->setLabel ('Select a type ' )->setMultiOptions ($ assetstoretypes );
Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ public function createImportForm($assetstores)
61
61
$ assetstoretypes = array ();
62
62
$ assetstoretypes [MIDAS_ASSETSTORE_LOCAL ] = $ this ->t ('Copy data on this server ' ); // manage by MIDAS
63
63
$ assetstoretypes [MIDAS_ASSETSTORE_REMOTE ] = $ this ->t ('Link data from its current location ' ); // link the data
64
- $ assetstoretypes [MIDAS_ASSETSTORE_AMAZON ] = $ this ->t ('Copy data to the cloud ' ); // Amazon support
64
+ // Amazon support is not yet implemented, don't present it as an option
65
+ //$assetstoretypes[MIDAS_ASSETSTORE_AMAZON] = $this->t('Copy data to the cloud'); // Amazon support
65
66
66
67
$ assetstoretype = new Zend_Form_Element_Select ('importassetstoretype ' );
67
68
$ assetstoretype ->setLabel ($ this ->t ('Storage type ' ));
Original file line number Diff line number Diff line change @@ -122,9 +122,10 @@ $this->headScript()->appendFile($this->coreWebroot . '/public/js/jquery/jquery.c
122
122
case MIDAS_ASSETSTORE_REMOTE :
123
123
echo "Remote " ;
124
124
break ;
125
- case MIDAS_ASSETSTORE_AMAZON :
126
- echo "Amazon S3 " ;
127
- break ;
125
+ // Amazon support is not yet implemented, don't present it as an option
126
+ // case MIDAS_ASSETSTORE_AMAZON:
127
+ // echo "Amazon S3";
128
+ // break;
128
129
default :
129
130
echo $ assetstore ->getType ();
130
131
break ;
You can’t perform that action at this time.
0 commit comments