Skip to content

Commit

Permalink
don't drop the op field, keep it for historical purposes and potentia…
Browse files Browse the repository at this point in the history
…l repair
  • Loading branch information
SupermanScott committed Jan 31, 2011
1 parent 55c95c7 commit 10f4ad1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion activity.install
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ function activity_update_6203() {
*/
function activity_update_7300() {
db_query("UPDATE {activity} SET type = CONCAT(type, '_', op)");
drop_field('activity', 'op');

drupal_set_message(t('Updated the {activity}.type field by combining it with the op field. In the event that this doesn\'t map properly for some activities, the op field remains for historical purposes only'), 'warning');

$new_fields = array(
'argument1' => array(
Expand Down

0 comments on commit 10f4ad1

Please sign in to comment.