Subversion Repositories SmartDukaan

Rev

Rev 14561 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14561 Rev 14685
Line 107... Line 107...
107
 * @param string $id
107
 * @param string $id
108
 * @return void
108
 * @return void
109
 */
109
 */
110
	
110
	
111
	public function admin_delete($id = null) {		
111
	public function admin_delete($id = null) {		
112
		if ($this->remove($id,'Exceptionalnlc')) {
112
		if ($this->remove($id,'ExceptionalNlc')) {
113
			$this->Session->setFlash(__('The sku scheme deal has been deleted.'));
113
			$this->Session->setFlash(__('The sku scheme deal has been deleted.'));
114
		} else {
114
		} else {
115
			$this->Session->setFlash(__('The sku scheme could not be deleted. Please, try again.'));
115
			$this->Session->setFlash(__('The sku scheme could not be deleted. Please, try again.'));
116
		}
116
		}
117
		return $this->redirect(array('action' => 'index'));
117
		return $this->redirect(array('action' => 'index'));