Permalink
Browse files

groupmatch analytics

  • Loading branch information...
1 parent 44934de commit 4bca4ce5afa7dd5761c89ccc7de6c972885ba2de @JKoff JKoff committed Apr 2, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 groupmatch.php
View
@@ -61,7 +61,7 @@
$tmpl = 'group';
$subject = 'You have been matched with a group!';
- Stats::poll("group filled", $row['id'], $user->location, implode(':', $uid_arr), '', $user->id);
+ Stats::poll("groupfilled", $row['id'], $user->location, implode(':', $uid_arr), $group_id, $user->id);
include_once('email/send-group.php');
@@ -71,6 +71,8 @@
"VALUES(null, $user->id, $group_id);";
mysql_query($query) or die(mysql_error());
+ Stats::poll("groupmatch", $row['id'], $user->location, $group_id, '', $user->id);
+
$_SESSION['group_name'] = $row['name'];
}

0 comments on commit 4bca4ce

Please sign in to comment.