Commit 3a060caa authored by Brendan Blaine's avatar Brendan Blaine Committed by Neil Drumm
Browse files

Issue #3226881 by B_man, drumm: Do not automatically credit people who upload files to an issue

parent 9b893b9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -485,7 +485,6 @@ function drupalorg_project_form_node_form_alter(&$form, &$form_state) {
            else {
              $table['#rows'][$file['uid']]['files'] += 1;
              $table['#rows'][$file['uid']]['#weight'] += 100;
              $table['#rows'][$file['uid']]['#last_patch'] = max($file['timestamp'], 1428452101);
            }
          }
        }
@@ -537,6 +536,7 @@ function drupalorg_project_form_node_form_alter(&$form, &$form_state) {
        if (isset($row['#checked'])) {
          $row['credited'] = t('<abbr title="Credit given by maintainer">✓</abbr>');
        }

        $row['by'] = array(
          'data' => array(
            '#type' => 'checkbox',