Closed (won't fix)
Project:
Drupal Commons
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2011 at 20:11 UTC
Updated:
4 Mar 2014 at 23:09 UTC
Jump to comment: Most recent
As of Commons 2.x, we're running a modified version of the user_terms module:
Per #1298378: Identify undocumented contrib changes, Commons 2.2 and before runs a modified version of the User terms module per the diff below.
The referenced code is not actually removed in the latest version of User terms:
http://drupalcode.org/project/user_terms.git/blob/refs/heads/6.x-1.x:/us...
However, a user_terms_vocabs_register variable is used so we could export configuration to prevent the user terms form element from appearing durring user registration if this is a high priority feature.
Only in commons-official-repo/test/sites/all/modules/contrib/user_terms: PATCHES.txt
Only in commons1/profiles/drupal_commons/modules/contrib/user_terms: user_terms-free-tagging-617088.patch
diff -upr commons1/profiles/drupal_commons/modules/contrib/user_terms/user_terms.module commons-official-repo/test/sites/all/modules/contrib/user_terms/user_terms.module
--- commons1/profiles/drupal_commons/modules/contrib/user_terms/user_terms.module 2011-10-04 15:34:16.000000000 -0400
+++ commons-official-repo/test/sites/all/modules/contrib/user_terms/user_terms.module 2011-10-04 15:35:55.000000000 -0400
@@ -64,9 +64,7 @@ function user_terms_user($op, &$edit, &$
// The user account registration form is about to be displayed.
// The module should present the form elements it wishes to inject into the form.
case 'register':
- // This should become optional in the next version
- // Let's just remove it for now
- //return $display ? user_terms_form_profile($edit, $account, $category, TRUE) : '';
+ return $display ? user_terms_form_profile($edit, $account, $category, TRUE) : '';
Comments
Comment #1
ezra-g commentedAdd d.o move tag.
Comment #2
japerryCleaning up the queue. No longer applicable in 7.x-3.x and we're not fixing non-security bugs in commons 6.x-2.x