RE: Deleting cache selectively

From: Date: Mon, 19 Nov 2001 15:53:03 +0000
Subject: RE: Deleting cache selectively
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1962@lists.php.net to get a copy of this message
On 19-Nov-01 Andrei Zmievski wrote: | | Content-Description: diff | > --- Smarty.class.php Mon Nov 12 12:54:22 2001 | > +++ /home/toor/Smarty-1.4.6-snap/Smarty.class.php Mon Nov 5 22:24:16 2001 | > @@ -413,7 +413,7 @@ | > Function: clear_cache() | > Purpose: clear cached content for the given template and cache id | > \*======================================================================*/ | > - function clear_cache($tpl_file = null, $cache_id = null, $compile_id = | > null | > ) | > + function clear_cache($tpl_file = null, $cache_id = null, $compile_id) | | You cannot have a non-default argument follow default ones. sorry, diff is reversed; the line with $compile_id without default argument actually is _in the current snapshot file_ and Smarty-1.4.6! Ciao, Thomas -- Thomas Pundt -------------------------- http://rp-online.de/ ----------------- RP-Online Verlagsgesellschaft mbH | pundt@rp-online.de Blumenstrasse 28, D-40212 Duesseldorf | Schlossstrasse 42, D-40477 Duesseldorf

« previous php.smarty.general (#1962) next »