[geeklog-devel] emailstories from userprefs

cordiste cordiste at free.fr
Fri Mar 23 17:14:40 EDT 2012


> can you file a bug

Done http://project.geeklog.net/tracking/view.php?id=1438

Ben

2012/3/23 Dirk Haun <dirk at haun-online.de>:
> Tom wrote:
>
>> Not sure why there would be both. The 2 differences I see is the call in
>> lib-user checks $_CONF['custom_registration'] first to see if it needs to
>> call
>>
>> CUSTOM_userCreate($uid,$batchimport);
>>
>> Plus it has the $batchimport flag.
>>
>> Maybe Dirk knows more…
>
>
> This looks like an accident / oversight. CUSTOM_userCreate was introduced with the $_CONF['custom_registration'] flag and CUSTOM_user_create was introduced to make sure all PLG_xxx functions have a corresponding CUSTOM_xxx function.
>
> Not sure in which order the two additions were made, but the second change probably didn't realize that the other function already existed.
>
> I'd vote for making the two calls behave the same and deprecating one of them. Technically, though, the call would better be suited for implementation in lib-plugins.php, but there it doesn't have access to $batchimport. Hmm ...
>
> In any case, Ben, can you file a bug for this, please? Thanks.
>
> bye, Dirk
>
>
> --
> http://www.themobilepresenter.com/
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://eight.pairlist.net/mailman/listinfo/geeklog-devel
>



More information about the geeklog-devel mailing list