]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch '0.9.x' into 1.0.x
authorCraig Andrews <candrews@integralblue.com>
Tue, 16 Feb 2010 15:25:57 +0000 (10:25 -0500)
committerCraig Andrews <candrews@integralblue.com>
Tue, 16 Feb 2010 15:25:57 +0000 (10:25 -0500)
Conflicts:
lib/queuemanager.php

1  2 
actions/showstream.php
classes/User.php
classes/statusnet.ini
db/statusnet.sql
lib/queuemanager.php
lib/statusnet.php
lib/util.php

Simple merge
Simple merge
Simple merge
Simple merge
index a0b13fe556f6a93596c91580084ab9352080d1dc,64bb52e106ee7289bf03934ebb32b145f33315d5..162c9f3757d422aa95e07c37c32688fe5edc1386
@@@ -155,14 -155,21 +155,14 @@@ abstract class QueueManager extends IoM
      }
  
      /**
 -     * Encode an object or variable for queued storage.
 -     * Notice objects are currently stored as an id reference;
 -     * other items are serialized.
 +     * Encode an object for queued storage.
       *
-      * @param mixed $object
+      * @param mixed $item
       * @return string
       */
-     protected function encode($object)
+     protected function encode($item)
      {
 -        if ($item instanceof Notice) {
 -            // Backwards compat
 -            return $item->id;
 -        } else {
 -            return serialize($item);
 -        }
 +        return serialize($object);
      }
  
      /**
Simple merge
diff --cc lib/util.php
Simple merge