File tree Expand file tree Collapse file tree 2 files changed +0
-21
lines changed
Block/Adminhtml/System/Config/Form Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -94,16 +94,6 @@ public function getVersion()
94
94
return $ this ->getComposerVersion ($ this ->getModuleName ());
95
95
}
96
96
97
- /**
98
- * @return string
99
- */
100
- public function getModuleName ()
101
- {
102
- $ classArray = explode ('\\' , get_class ($ this ));
103
-
104
- return count ($ classArray ) > 2 ? "{$ classArray [0 ]}_ {$ classArray [1 ]}" : '' ;
105
- }
106
-
107
97
/**
108
98
* Get module composer version
109
99
*
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ public function __construct(
44
44
*
45
45
* @param AbstractElement $element
46
46
* @return string
47
- * @throws LocalizedException
48
47
*/
49
48
public function render (AbstractElement $ element )
50
49
{
@@ -75,14 +74,4 @@ public function getVersion()
75
74
$ moduleInfo = $ this ->_moduleList ->getOne ($ this ->getModuleName ());
76
75
return $ moduleInfo ['setup_version ' ];
77
76
}
78
-
79
- /**
80
- * @return string
81
- */
82
- public function getModuleName ()
83
- {
84
- $ classArray = explode ('\\' , get_class ($ this ));
85
-
86
- return count ($ classArray ) > 2 ? "{$ classArray [0 ]}_ {$ classArray [1 ]}" : '' ;
87
- }
88
77
}
You can’t perform that action at this time.
0 commit comments