Removing clean_archives function

Also correcting duplicate php tag.