OpenCart 🇺🇦

Схема

public mixed delete ( )

Аргументы

Аргумент Возможный тип Описание
У метода нет аргументов

Описание

Метод пока еще не документирован.

Исходный код

$this->load->model('openbay/ebay_profile');

if (!$this->user->hasPermission('modify', 'openbay/ebay_profile')) {
	$this->error['warning'] = $this->language->get('invalid_permission');
}else{
	if (isset($this->request->get['ebay_profile_id'])) {
		$this->model_openbay_ebay_profile->delete($this->request->get['ebay_profile_id']);
	}
}

$this->redirect($this->url->link('openbay/ebay_profile/profileAll&token=' . $this->session->data['token'], 'SSL'));