From 3b20262a16d44ee4306f8f137e18f19d90eab817 Mon Sep 17 00:00:00 2001 From: Tristan Olive Date: Fri, 25 Oct 2013 10:16:16 -0400 Subject: [PATCH] Code cleanup Removed unused reference to BOINC user.inc, as CPID is in the Drupal user object (DBOINCP-84) --- drupal/sites/default/boinc/modules/boincuser/boincuser.module | 3 --- 1 file changed, 3 deletions(-) diff --git a/drupal/sites/default/boinc/modules/boincuser/boincuser.module b/drupal/sites/default/boinc/modules/boincuser/boincuser.module index b2d39573e6..c9b8c5fb65 100644 --- a/drupal/sites/default/boinc/modules/boincuser/boincuser.module +++ b/drupal/sites/default/boinc/modules/boincuser/boincuser.module @@ -1086,9 +1086,6 @@ function boincuser_get_projects($account = null) { $account = user_load($user->uid); } - // Tie into the BOINC code and use CPID to get cross project stats - require_boinc('user'); - $boinc_user = BoincUser::lookup_id($account->boincuser_id); $account_stats = boincuser_get_stats_user_data($account->boincuser_cpid); return ($account_stats AND isset($account_stats->project)) ? $account_stats->project : null;