You are here

function commons_q_a_update_3107 in Drupal Commons 7.3

Remove the "Like" widget from answer nodes, since they have a +/- widget. Related issue: https://drupal.org/node/1935312.

File

modules/commons/commons_q_a/commons_q_a.install, line 104

Code

function commons_q_a_update_3107() {
  $revert = array(
    'commons_like' => array(
      'variable',
    ),
  );
  features_revert($revert);
  return array();
}