Browse Source

Remove holes in cache index keys - makes the serialized representation shorter

pull/5742/merge
Aleksander Machniak 8 years ago
parent
commit
981cd8726d
  1. 2
      program/lib/Roundcube/rcube_cache.php

2
program/lib/Roundcube/rcube_cache.php

@ -405,7 +405,7 @@ class rcube_cache
}
}
$data = serialize($this->index);
$data = serialize(array_values($this->index));
$this->add_item($this->ikey(), $data);
}

Loading…
Cancel
Save