Use Randomid.
authorJan Schneider <jan@horde.org>
Mon, 8 Nov 2010 21:35:33 +0000 (22:35 +0100)
committerJan Schneider <jan@horde.org>
Mon, 8 Nov 2010 21:57:06 +0000 (22:57 +0100)
nag/lib/Nag.php

index bb932c7..c601bb2 100644 (file)
@@ -449,7 +449,7 @@ class Nag
     public static function addTasklist($info)
     {
         try {
-            $tasklist = $GLOBALS['nag_shares']->newShare($GLOBALS['registry']->getAuth(), strval(new Horde_Support_Uuid()));
+            $tasklist = $GLOBALS['nag_shares']->newShare($GLOBALS['registry']->getAuth(), strval(new Horde_Support_Randomid()));
             $tasklist->set('name', $info['name']);
             $tasklist->set('color', $info['color']);
             $tasklist->set('desc', $info['description']);