Skip to content

Commit f925be0

Browse files
author
phalcon
committed
Removing merging marks
1 parent e4c4688 commit f925be0

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

ext/mvc/view/engine/volt/compiler.c

-12
Original file line numberDiff line numberDiff line change
@@ -2113,20 +2113,12 @@ PHP_METHOD(Phalcon_Mvc_View_Engine_Volt_Compiler, compileCache){
21132113
if (phalcon_array_isset_string(statement, SS("lifetime"))) {
21142114
PHALCON_OBS_VAR(lifetime);
21152115
phalcon_array_fetch_string(&lifetime, statement, SL("lifetime"), PH_NOISY_CC);
2116-
<<<<<<< HEAD
2117-
PHALCON_SCONCAT_SVS(compilation, "$_cacheKey[", expr_code, "] = ");
2118-
PHALCON_SCONCAT_SVSVSVS(compilation, "$_cache[", expr_code, "]->start(", expr_code, ", ", lifetime, "); ");
2119-
} else {
2120-
PHALCON_SCONCAT_SVSVSVS(compilation, "$_cacheKey[", expr_code, "] = $_cache[", expr_code, "]->start(", expr_code, "); ");
2121-
}
2122-
=======
21232116
PHALCON_SCONCAT_SVS(compilation, "$_cacheKey[", expr_code, "]");
21242117
PHALCON_SCONCAT_SVSVSVS(compilation, " = $_cache[", expr_code, "]->start(", expr_code, ", ", lifetime, "); ");
21252118
} else {
21262119
PHALCON_SCONCAT_SVSVSVS(compilation, "$_cacheKey[", expr_code, "] = $_cache[", expr_code, "]->start(", expr_code, "); ");
21272120
}
21282121

2129-
>>>>>>> 1.0.0
21302122
PHALCON_SCONCAT_SVS(compilation, "if ($_cacheKey[", expr_code, "] === null) { ?>");
21312123
/**
21322124
* Get the code in the block
@@ -2141,13 +2133,9 @@ PHP_METHOD(Phalcon_Mvc_View_Engine_Volt_Compiler, compileCache){
21412133
/**
21422134
* Check if the cache has a lifetime
21432135
*/
2144-
<<<<<<< HEAD
2145-
if (lifetime) {
2146-
=======
21472136
if (phalcon_array_isset_string(statement, SS("lifetime"))) {
21482137
PHALCON_OBS_NVAR(lifetime);
21492138
phalcon_array_fetch_string(&lifetime, statement, SL("lifetime"), PH_NOISY_CC);
2150-
>>>>>>> 1.0.0
21512139
PHALCON_SCONCAT_SVSVSVS(compilation, "<?php $_cache[", expr_code, "]->save(", expr_code, ", null, ", lifetime, "); ");
21522140
PHALCON_SCONCAT_SVS(compilation, "} else { echo $_cacheKey[", expr_code, "]; } ?>");
21532141
} else {

0 commit comments

Comments
 (0)