src/User/Sync.php
public static function saveData(Registry $syncdata)
	{
		$db = Factory::getDBO();
		$data = new stdClass;
		$data->syncdata = $syncdata->toString();
		$data->syncid = $syncdata->get('syncid');
		$data->time_start = time();
		$data->action = $syncdata->get('action');

		$db->insertObject('#__jfusion_sync', $data);
	}
public static function saveData(Registry $syncdata)
	{
		$db = Factory::getDBO();
		$data = new stdClass;
		$data->syncdata = $syncdata->toString();
		$data->syncid = $syncdata->get('syncid');
		$data->time_start = time();
		$data->action = $syncdata->get('action');

		$db->insertObject('#__jfusion_sync', $data);
	}
public static function saveData ( Registry $ syncdata ) { $ db = Factory :: getDBO ( ) ; $ data = new stdClass ; $ data -> syncdata = $ syncdata -> toString ( ) ; $ data -> syncid = $ syncdata -> get ( 'syncid' ) ; $ data -> time_start = time ( ) ; $ data -> action = $ syncdata -> get ( 'action' ) ; $ db -> insertObject ( '#__jfusion_sync' , $ data ) ; }
Save sync data

@param Registry &$syncdata the actual syncdata

@return string nothing
Save sync data