1<?php 2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project 3// 4// All Rights Reserved. See copyright.txt for details and a complete list of authors. 5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. 6// $Id$ 7 8function payment_behavior_replace_inventory($code, $quantity) 9{ 10 $cartlib = TikiLib::lib('cart'); 11 $cartlib->change_inventory($code, $quantity); 12 return true; 13} 14