X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=library%2FSmarty%2Flibs%2Fsysplugins%2Fsmarty_internal_compile_nocache.php;h=ba39717fd984c2e63990e33fdf86cb59f3de48f5;hb=a6aac8f950cd7a5d73ce32ee079156f14b8990ec;hp=5fb71b71db7e3adf0b8d6c9a0a5518c2088b7215;hpb=2bdbdc8d8ef229946e225791801e753a7fd5c695;p=friendica.git diff --git a/library/Smarty/libs/sysplugins/smarty_internal_compile_nocache.php b/library/Smarty/libs/sysplugins/smarty_internal_compile_nocache.php index 5fb71b71db..ba39717fd9 100644 --- a/library/Smarty/libs/sysplugins/smarty_internal_compile_nocache.php +++ b/library/Smarty/libs/sysplugins/smarty_internal_compile_nocache.php @@ -1,29 +1,28 @@ nocache = true; // this tag does not return compiled code $compiler->has_code = false; + return true; } - } /** * Smarty Internal Plugin Compile Nocacheclose Class * - * @package Smarty + * @package Smarty * @subpackage Compiler */ -class Smarty_Internal_Compile_Nocacheclose extends Smarty_Internal_CompileBase { - +class Smarty_Internal_Compile_Nocacheclose extends Smarty_Internal_CompileBase +{ /** * Compiles code for the {/nocache} tag - * * This tag does not generate compiled output. It only sets a compiler flag. * - * @param array $args array with attributes from parser - * @param object $compiler compiler object + * @param array $args array with attributes from parser + * @param object $compiler compiler object + * * @return bool */ public function compile($args, $compiler) @@ -65,9 +64,7 @@ class Smarty_Internal_Compile_Nocacheclose extends Smarty_Internal_CompileBase { $compiler->nocache = false; // this tag does not return compiled code $compiler->has_code = false; + return true; } - } - -?> \ No newline at end of file