if you search with grep you should do it recursively ....

grep -nR 'onlogout' *

R for recursively, n for the line number.

On Thursday, March 21, 2013 9:03:55 PM UTC+1, Richard wrote:
>
> :~/version_232/web2py$ grep 'onlogout' *
>
> Return nothing!!
>
> Richard
>
>
> On Thu, Mar 21, 2013 at 3:43 PM, Niphlod <[email protected] 
> <javascript:>>wrote:
>
>> on trunk there is such a function, however it takes only user as a 
>> parameter
>>
>> if onlogout:
>>             onlogout(self.user)
>>
>>
>> On Thursday, March 21, 2013 6:48:40 PM UTC+1, Richard wrote:
>>
>>> I don't see any decaration of on_logout in web2py 2.3.2, search the book 
>>> for on_logout lead to nothing either...
>>>
>>> Could it be your own custom function??
>>>
>>> Richard
>>>
>>>
>>> On Thu, Mar 21, 2013 at 3:08 AM, Annet <[email protected]> wrote:
>>>
>>>> After upgrading to web2py version 2.4.4 this no longer works:
>>>>
>>>> auth.settings.logout_onlogout = lambda user: on_logout(auth,session)
>>>>
>>>> I get the following error:
>>>>
>>>> global name 'on_logout' is not defined.
>>>>
>>>> on_logout(auth,session) is a function in a module which clears all the 
>>>> settings
>>>>
>>>> of the cms part of my application.
>>>>
>>>> Is there another way to call on_logout(auth,session) in web2py 2.4.4?
>>>>
>>>>
>>>> Kind regards,
>>>>
>>>> Annet
>>>>
>>>>
>>>>
>>>>  -- 
>>>>  
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "web2py-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to web2py+un...@**googlegroups.com.
>>>>
>>>> For more options, visit 
>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>> .
>>>>  
>>>>  
>>>>
>>>
>>>  -- 
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to