Index: branches/5.1.x/core/kernel/application.php
===================================================================
diff -u -N -r13874 -r13905
--- branches/5.1.x/core/kernel/application.php (.../application.php) (revision 13874)
+++ branches/5.1.x/core/kernel/application.php (.../application.php) (revision 13905)
@@ -1,6 +1,6 @@
isCachingType(CACHING_TYPE_MEMORY)) {
- if (defined('DEBUG_MODE') && DEBUG_MODE && $this->isDebugMode()) {
- $this->Application->Debugger->appendHTML('Incrementing serial: ' . $serial_name . '.');
- }
-
- $this->setCache($serial_name, (int)$this->getCache($serial_name) + 1);
+ if (defined('DEBUG_MODE') && DEBUG_MODE && $this->isDebugMode()) {
+ $this->Application->Debugger->appendHTML('Incrementing serial: ' . $serial_name . '.');
}
+ $this->setCache($serial_name, (int)$this->getCache($serial_name) + 1);
+
if (!defined('IS_INSTALL') || !IS_INSTALL) {
// delete cached mod-rewrite urls related to given prefix and id
$delete_clause = isset($id) ? $prefix . ':' . $id : $prefix;