[dev] Horde::SessionCache->deleteObject function...
Jan Schneider
jan@horde.org
Sat, 15 Dec 2001 15:45:34 +0100
Zitat von René Lund Jensen <lundeman@tbkol.dk>:
> Hey there..
>
> I really could use a function like the above...
>
> The problem is, I'm really not good at this diff stuff.
> So I'll just write my code directly in the mail...
> I'm still unsure about scope when writing PHP,
> so it might need some editing...
>
> This is mainly copy/paste from the other two functions in
> Horde::SessionCache,
> and maybe there is a faster, and more "clean" way of doing this. I just
> can't find that array_purge() function in PHP :o)
>
> The reason for this function is that I have one object that I want to
> keep
> in my cache, but I fear that it will die the "prune"-death..
> With this function it's possible to clear the cache for unwanted
> objects,
> while keeping the important ones...
>
> I hope I'm not the only one who can use this, so that it can make it
> into
> the Horde code...
I simplified the code a bit and submitted it to cvs. Thanks!
Jan.
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::