function statspro_update_6103 in Statistics Pro 6
Same name and namespace in other branches
- 6.2 statspro.install \statspro_update_6103()
Should not be used.
Jump straight to statspro_update_6104().
Return value
array
File
- ./
statspro.install, line 261 - 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;
}