Path

ez projects / session_cleanup / forum / general / update to ez 4.1 / re: update to ez 4.1


Update to eZ 4.1

You need to be logged in to post messages in the forums. New users may register here.

Xavier Serna

Member since:
24 October 2006

Posts: 7

Tuesday 05 May 2009 12:05:11 pm

These changes are needed to have this extension working in eZ 4.1:




Modified: extension/session_cleanup/cronjobs/session_cleanup.php


===================================================================


--- extension/session_cleanup/cronjobs/session_cleanup.php  2009-05-04 15:13:02 UTC (rev 10183)


+++ extension/session_cleanup/cronjobs/session_cleanup.php  2009-05-04 15:15:13 UTC (rev 10184)


@@ -9,13 +9,13 @@


    {


           if( !$isQuiet )


               $cli->output( 'Removing ALL sessions from database...' );


-      eZSessionEmpty();


+      eZSession::cleanup();


    }


    else


    {


           if( !$isQuiet )


               $cli->output( 'Removing EXPIRED sessions from database...' );


-      eZSessionGarbageCollector();


+      eZSession::garbageCollector();


    }


 

    if( !$isQuiet )


--
Xavier Serna
eZ Publish Certified Developer - http://auth.ez.no/certification/verify/382378
Software Department - Microblau S.L. - http://www.microblau.net
Phone no. +34 937 466 205

Up

Norman Leutner

Member since:
22 October 2003

Posts: 44

Wednesday 17 June 2009 5:48:47 pm

Thanks for sharing this

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Up

Niko Goers

Member since:
12 January 2007

Posts: 1

Monday 03 August 2009 12:38:50 pm

The extension is now eZP 4.1 ready
Up

You need to be logged in to post messages in the forums. New users may register here.