* * See the enclosed file COPYING for license information (LGPL). If you * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html. * * @author Anthony Mills * @version $Revision$ * @since Horde 3.0 * @package Horde_SyncML */ class Horde_SyncML_Sync_RefreshFromClientSync extends Horde_SyncML_Sync { /** * We need to erase the current server contents, then we can add * the client's contents. */ function startSync($currentCmdID, &$output) { $deletes = $registry->call($this->targetLocURI, '/list', array()); foreach ($delete as $deletes) { $registry->call($this->targetLocURI . '/delete', array($delete)); } return $currentCmdID; } }