From: Michael M Slusarz Date: Fri, 6 Aug 2010 19:25:51 +0000 (-0600) Subject: More places to use Horde_Support_Randomid::. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b020b0dae3f274dd16ec7f64df30e50860e2f5da;p=horde.git More places to use Horde_Support_Randomid::. --- diff --git a/imp/lib/Compose.php b/imp/lib/Compose.php index 6ac3d0f9b..96cd892d7 100644 --- a/imp/lib/Compose.php +++ b/imp/lib/Compose.php @@ -1943,7 +1943,7 @@ class IMP_Compose 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); diff --git a/imp/lib/Injector/Binder/Imaptree.php b/imp/lib/Injector/Binder/Imaptree.php index 6948da0b5..f99701fbd 100644 --- a/imp/lib/Injector/Binder/Imaptree.php +++ b/imp/lib/Injector/Binder/Imaptree.php @@ -25,7 +25,7 @@ class IMP_Injector_Binder_Imaptree implements Horde_Injector_Binder 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));