Пример #1
0
 /**
  * Delete config value from storage
  *
  * @param   string $path
  * @param   string $scope
  * @param   int $scopeId
  * @return  void
  */
 public function delete($path, $scope = \Magento\Framework\App\ScopeInterface::SCOPE_DEFAULT, $scopeId = 0)
 {
     $this->_resource->deleteConfig(rtrim($path, '/'), $scope, $scopeId);
 }
Пример #2
0
 /**
  * Delete config value from storage
  *
  * @param   string $path
  * @param   string $scope
  * @param   int $scopeId
  * @return  void
  */
 public function delete($path, $scope = ScopeConfigInterface::SCOPE_TYPE_DEFAULT, $scopeId = 0)
 {
     $this->_resource->deleteConfig(rtrim($path, '/'), $scope, $scopeId);
 }