admin/jqadm/src/Admin/JQAdm/Common/Decorator/Cache.php
public function delete()
	{
		$result = $this->getClient()->delete();

		$ids = (array) $this->getView()->param( 'id' );
		$tags = array( 'product' );

		foreach( $ids as $id ) {
			$tags[] = 'product-' . $id;
		}

		$this->getContext()->getCache()->deleteByTags( $tags );

		return $result;
	}
public function delete()
	{
		$result = $this->getClient()->delete();

		$ids = (array) $this->getView()->param( 'id' );
		$tags = array( 'product' );

		foreach( $ids as $id ) {
			$tags[] = 'product-' . $id;
		}

		$this->getContext()->getCache()->deleteByTags( $tags );

		return $result;
	}
public function delete ( ) { $ result = $ this -> getClient ( ) -> delete ( ) ; $ ids = ( array ) $ this -> getView ( ) -> param ( 'id' ) ; $ tags = array ( 'product' ) ; foreach ( $ ids as $ id ) { $ tags [ ] = 'product-' . $ id ; } $ this -> getContext ( ) -> getCache ( ) -> deleteByTags ( $ tags ) ; return $ result ; }
Clears the cache after deleting the item

@return string|null admin output to display or null for redirecting to the list
Clears the cache after deleting the item