The subuser module creates the database {user_relationship}, which does not follow the drupal namespace requirements. Attached is a patch to modify the module to use the {subuser_relationship} database, including updates to the view, and an update function for existing installs.

CommentFileSizeAuthor
subuser_db_namespace.diff3.88 KBmikejoconnor

Comments

blakehall’s picture

Status: Active » Fixed

Committed a slightly modified version of this patch to 6.x-1.x.

Thanks @mikejoconnor!

anou’s picture

Hello,
Just another thing in the subuser.patch for user.module must change :
- 'join' => 'JOIN {user_relationship} subuser ON u.uid = subuser.uid',
in
+ 'join' => 'JOIN {subuser_relationship} subuser ON u.uid = subuser.uid',

or you'll get an sql error

David

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.