File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
app/code/Magento/Shipping/Block/Tracking Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 9
9
use Magento \Framework \Stdlib \DateTime \DateTimeFormatterInterface ;
10
10
11
11
/**
12
+ * Tracking popup
13
+ *
12
14
* @api
13
15
* @since 100.0.2
14
16
*/
@@ -105,13 +107,15 @@ public function formatDeliveryTime($time, $date = null)
105
107
*/
106
108
public function getContactUsEnabled ()
107
109
{
108
- return ( bool ) $ this ->_scopeConfig ->getValue (
109
- 'contacts/contacts /enabled ' ,
110
+ return $ this ->_scopeConfig ->isSetFlag (
111
+ 'contact/contact /enabled ' ,
110
112
\Magento \Store \Model \ScopeInterface::SCOPE_STORE
111
113
);
112
114
}
113
115
114
116
/**
117
+ * Get support email
118
+ *
115
119
* @return string
116
120
*/
117
121
public function getStoreSupportEmail ()
@@ -123,6 +127,8 @@ public function getStoreSupportEmail()
123
127
}
124
128
125
129
/**
130
+ * Get contact us url
131
+ *
126
132
* @return string
127
133
*/
128
134
public function getContactUs ()
You can’t perform that action at this time.
0 commit comments