- improvement impement workaround for HHVM PHP incompatibillity https://github.com/facebook/hhvm/issues/4797

This commit is contained in:
Uwe Tews
2015-07-26 18:04:40 +02:00
parent bb3dfc6fdf
commit f9d9ca0f67
10 changed files with 63 additions and 13 deletions
@@ -119,10 +119,11 @@ abstract class Smarty_CacheResource_Custom extends Smarty_CacheResource
*
* @param Smarty_Internal_Template $_template template object
* @param Smarty_Template_Cached $cached cached object
* @param bool $update flag if called because cache update
*
* @return boolean true or false if the cached content does not exist
*/
public function process(Smarty_Internal_Template $_template, Smarty_Template_Cached $cached = null)
public function process(Smarty_Internal_Template $_template, Smarty_Template_Cached $cached = null, $update = false)
{
if (!$cached) {
$cached = $_template->cached;