Using wp-config to Customize WordPress

I thought

define('EMPTY_TRASH_DAYS', 0);

set WordPress to not use the trash and delete the item straight away?