Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 1 file changed
  • 0 comments
  • 1 contributor

Showing 1 changed file with 2 additions and 4 deletions. Show diff stats Hide diff stats

  1. +2 4 og_statistics.admin.inc
6 og_statistics.admin.inc
@@ -29,16 +29,14 @@ function og_statistics_settings() {
29 29 '#value' => t('Rebuild og_statistics'),
30 30 '#submit' => array(
31 31 'system_settings_form_submit',
32   - 'og_statistics_settings_submit'
  32 + 'og_statistics_settings_rebuild_submit'
33 33 ),
34 34 );
35 35
36 36 return system_settings_form($form);
37 37 }
38 38
39   -function og_statistics_settings_submit(&$form, &$form_state) {
40   - variable_set('og_statistics_include_unapproved_members', $form_state['values']['include_unapproved_members']);
41   -
  39 +function og_statistics_settings_rebuild_submit(&$form, &$form_state) {
42 40 // get all group nodes
43 41 $types = og_get_types('group');
44 42 $placeholders = db_placeholders($types, 'varchar');

No commit comments for this range

Something went wrong with that request. Please try again.