Curious - superuser not allowed as an affiliate?

2 replies [Last post]
vector84
Offline
Joined: 04/01/2010
Status: 
Answered

I noticed that the hook_user_load function refuses to load affiliate_aid if the affiliate uid is 1, ie the Drupal super user...

Curious as to the reasoning behind this? Does it break something to have the superuser as an affiliate? or is it just bad practice?

Leighton Whiting
Online
Joined: 06/02/2009
It's just what made sense to

It's just what made sense to me. How can anyone refer the superuser?

-Leighton

vector84
Offline
Joined: 04/01/2010
I'm not quite sure that's the

EDIT: Actually, that should work fine, huh?

I'm not quite sure what I was thinking on this one, it's checking $account->uid...

My mistake on this one! ;)

Twitter Feed