You are here

function statspro_update_6103 in Statistics Pro 6.2

Same name and namespace in other branches
  1. 6 statspro.install \statspro_update_6103()

Should not be used.

Jump straight to statspro_update_6104().

Return value

array

File

./statspro.install, line 323
Install file for statistics pro module

Code

function statspro_update_6103() {

  //  $ret = array();
  //  db_rename_table(&$ret, 'statspro_day_to_date_temp', 'statspro_day_to_date_temp2');
  //  if($ret['success']) {
  //    $ret = array();
  //    db_rename_table(&$ret, 'statspro_day_to_date_temp2', 'statspro');
  //  }
  //  else {
  //    $ret = array('success' => TRUE, 'query' => check_plain('SELECT COUNT(*) FROM {statspro}'));
  //  }
  //  return $ret;
  $ret = array();
  $ret[] = array(
    'success' => TRUE,
    'query' => check_plain('SELECT COUNT(*) FROM {statspro}'),
  );
  return $ret;
}