function wpsc_update_purchase_logs_3dot8()
{
    if (_wpsc_purchlogs_need_update()) {
        wpsc_update_purchase_logs();
    }
    ?>
		<div class="wrap">
			<h2><?php 
    echo esc_html(__('Sales', 'wpsc'));
    ?>
 </h2>	
			<p><?php 
    printf(__('Your purchase logs have been updated! <a href="%s">Click here</a> to return.', 'wpsc'), remove_query_arg('subpage'));
    ?>
</p>
		</div>
	<?php 
}
 public function controller_upgrade_purchase_logs_3_8()
 {
     if ($this->needs_update()) {
         wpsc_update_purchase_logs();
     }
     add_action('wpsc_display_purchase_logs_page', array($this, 'display_upgrade_purchase_logs_3_8'));
 }