A global quota system on textile imports expired at the end of 2004 .