Discarded stories are displayed in the user profile in the "shaken" view, which is all stories the user voted for (don't know why its called shaken...)
Here is the fix for that:
Open user.php and under function do_history():
replace:
$rows = $db->get_var("SELECT count(*) FROM links WHERE link_author=$user->id AND");
$links = $db->get_col("SELECT link_id FROM links WHERE link_author=$user->id AND ORDER BY link_date DESC LIMIT $offset,$page_size");
with:
$rows = $db->get_var("SELECT count(*) FROM links WHERE link_author=$user->id AND link_status !='discard'");
$links = $db->get_col("SELECT link_id FROM links WHERE link_author=$user->id AND link_status !='discard' ORDER BY link_date DESC LIMIT $offset,$page_size");




Linear Mode




