Closed (fixed)
Project:
Shared Sign-On
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 May 2008 at 02:34 UTC
Updated:
2 Jun 2008 at 23:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
sunFurther code clean-up.
Comment #2
sunRe-rolled.
Comment #3
wayland76 commentedI just noticed this, and have a quick question; why have you removed the access check in singlesignon_admin_settings -- is it because this check is already done elsewhere?
Other than that, it looks pretty good, although there's one or two spots where I prefer it the way it was (for example, the if statement with $master_url and the bots, I prefer the original comments as being more informative). Don't re-roll, though; if you answer the question above, I'll apply the patch, and make the small changes I prefer afterwards. After all, I'll have to roll this patch for 6.x as well :).
Comment #4
wayland76 commentedOh, and BTW, you're not supposed to set your own patches to "reviewed and tested by the community", but to "patch (code needs review)". But now that I've reviewed it myself, I'll leave it.
Comment #5
wayland76 commented...and if I haven't said, it's a pleasure to have a guy of your obvious level of Drupal familiarity doing this.
Comment #6
sun1) singlesignon_admin_settings() is a menu callback and not invoked elsewhere. Thus, it's sufficient to define 'access' in hook_menu().
2) Please reconsider changing this comment -- it's very much cleaner and absolutely easy to understand:
Comment #7
wayland76 commentedThe problem with the comment is it says what we're doing (which should already be obvious from the code), but doesn't say why
Comment #8
wayland76 commentedOk, it's now in the DRUPAL-5 branch
Comment #9
wayland76 commented...and I've also committed something similar on the Drupal 6 branch. However, I'm planning to wait until the 25th of May 2008 before I release a new version.
Comment #10
sunComment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.