<?php

/**
 * Change to using watchdog (as we have moved to using syslog).
 */
function scratchpads_load_time_log_update_7001(){
  variable_del('scratchpads_load_time_log_last_clear');
  variable_del('scratchpads_load_time_log_filename');
  foreach(file_scan_directory('public://', '/scratchpads_load_time_log-/') as $file){
    file_unmanaged_delete($file->uri);
  }
}