<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,10 +1,8 @@
 # Changelog
 
 ## Next Release
-* FIX Bug fix for undefined var in StreamModel::createUniqueId. This means 
-      that the unique id calculation has changed for all new entries.
-      Im sorry for this bug, this sql will help out finding entries with wrong
-      id. SELECT * FROM streams WHERE unique_id != sha1( concat( content_unique_id, service_id ) )
+* FIX Bug fix for undefined var in StreamModel::createUniqueId removed the
+      serviceId from the calculation. In between releases this was broken.
 * ADD Profiler, renders page execution time and db query info in a html comment
       block at the bottom of the page. Enable/Disable it in app.ini. 
 * ADD Caching of table meta data.</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -32,8 +32,7 @@ class StreamModel
         
         if (!isset($data['unique_id'])) {
             $data['unique_id'] = $this-&gt;createUniqueId(
-                $data['content_unique_id'], 
-                $data['service_id']);
+                                          $data['content_unique_id']);
         }
 
         $entry = $db-&gt;fetchRow($db-&gt;select()-&gt;where('unique_id = ?', $data['unique_id']));
@@ -71,9 +70,9 @@ class StreamModel
         throw new Exception('Method not implemented');
     }
 
-    public function createUniqueId($contentId, $serviceId)
+    public function createUniqueId($contentId)
     {
-        return sha1($contentId . $serviceId);
+        return sha1($contentId);
     }
 
     public function fetchEntries($page = null)
@@ -169,4 +168,4 @@ class StreamModel
         unset($entries);
         return array_reverse($stats, true);
     }
-}
\ No newline at end of file
+}</diff>
      <filename>app/models/StreamModel.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f2cc58778e1ad12e056e639231e1d47dd274f263</id>
    </parent>
  </parents>
  <author>
    <name>Johan Nilsson</name>
    <email>johann@nowwhat.(none)</email>
  </author>
  <url>http://github.com/johannilsson/phplifestream/commit/c9d2c52b71b6bee456cd9b1dcfb00a7471c3e250</url>
  <id>c9d2c52b71b6bee456cd9b1dcfb00a7471c3e250</id>
  <committed-date>2009-03-27T00:10:29-07:00</committed-date>
  <authored-date>2009-03-27T00:10:29-07:00</authored-date>
  <message>Reverted to previous calculation.</message>
  <tree>c4f6db912c875cdfaff5bf636788a368ebe38df2</tree>
  <committer>
    <name>Johan Nilsson</name>
    <email>johann@nowwhat.(none)</email>
  </committer>
</commit>
