if ($GLOBALS['conf']['compose']['use_vfs']) {
try {
$vfs = $GLOBALS['injector']->getInstance('Horde_Vfs')->getVfs();
- $cacheID = strval(new Horde_Support_Uuid());
+ $cacheID = strval(new Horde_Support_Randomid());
if ($vfs_file) {
$vfs->write(self::VFS_ATTACH_PATH, $cacheID, $data, true);
if (empty($_SESSION['imp']['cache']['tree'])) {
if (!($cache instanceof Horde_Cache_Null)) {
- $_SESSION['imp']['cache']['tree'] = strval(new Horde_Support_Uuid());
+ $_SESSION['imp']['cache']['tree'] = strval(new Horde_Support_Randomid());
}
} else {
$instance = @unserialize($cache->get($_SESSION['imp']['cache']['tree'], 86400));