public static function deleteXDomainUserId($id)
	{
		$db = \App::get('db');

		if (empty($id))
		{
			return false;
		}

		$id = intval($id);

		if ($id <= 0)
		{
			return false;
		}

		$query = 'DELETE FROM `#__xdomain_users` WHERE uidNumber=' . $db->quote($id) . ';';

		$db->setQuery($query);

		$db->query();

		return true;
	}
public static function deleteXDomainUserId($id)
	{
		$db = \App::get('db');

		if (empty($id))
		{
			return false;
		}

		$id = intval($id);

		if ($id <= 0)
		{
			return false;
		}

		$query = 'DELETE FROM `#__xdomain_users` WHERE uidNumber=' . $db->quote($id) . ';';

		$db->setQuery($query);

		$db->query();

		return true;
	}
public static function deleteXDomainUserId ( $ id ) { $ db = \ App :: get ( 'db' ) ; if ( empty ( $ id ) ) { return false ; } $ id = intval ( $ id ) ; if ( $ id <= 0 ) { return false ; } $ query = 'DELETE FROM `#__xdomain_users` WHERE uidNumber=' . $ db -> quote ( $ id ) . ';' ; $ db -> setQuery ( $ query ) ; $ db -> query ( ) ; return true ; }
Delete a record by user ID

@param   integer  $id
@return  boolean
Delete a record by user ID