From 497d33312bd4147dc1fe4aa9d6c46c9b7fc55e55 Mon Sep 17 00:00:00 2001
From: webchick <drupal@webchick.net>
Date: Fri, 13 Mar 2015 21:00:31 -0700
Subject: [PATCH] Issue #2451655 by klausi: Cache database schema description
 for expire is wrong

---
 core/lib/Drupal/Core/Cache/DatabaseBackend.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/lib/Drupal/Core/Cache/DatabaseBackend.php b/core/lib/Drupal/Core/Cache/DatabaseBackend.php
index ded8b35118f7..b1144e4e118c 100644
--- a/core/lib/Drupal/Core/Cache/DatabaseBackend.php
+++ b/core/lib/Drupal/Core/Cache/DatabaseBackend.php
@@ -454,7 +454,7 @@ public function schemaDefinition() {
           'size' => 'big',
         ),
         'expire' => array(
-          'description' => 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.',
+          'description' => 'A Unix timestamp indicating when the cache entry should expire, or ' . Cache::PERMANENT . ' for never.',
           'type' => 'int',
           'not null' => TRUE,
           'default' => 0,
-- 
GitLab