Closed (fixed)
Project:
CAS
Version:
6.x-3.x-dev
Component:
CAS
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
18 May 2012 at 20:58 UTC
Updated:
4 Jun 2012 at 00:51 UTC
Jump to comment: Most recent file
#1454682: Allow cas_logout() to be called from hook_user_logout() introduced helpful documentation for the new capabilities of cas_logout(). However, the code comment for the Drupal 6 version included hook_user_logout() and hook_module_implements_alter() which do not exist for Drupal 6. Patch following.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | cas-logout-comment-change-1589078-1.patch | 835 bytes | bneil |
Comments
Comment #1
bneil commentedI changed hook_user_logout() to hook_user(). I also eliminated the line about hook_module_implements_alter() since it doesn't exist in Drupal 6.
Comment #2
bfroehle commentedThanks! I took your patch, but called it
hook_user('logout')instead of justhook_user(). There is precedent for convention: see user_external_login() for example.Committed to 6.x-3.x.
Comment #3
bneil commentedThanks! That makes sense.