From: Evan Prodromou Date: Tue, 28 Dec 2010 06:35:57 +0000 (-0800) Subject: pass through $idField and $createdField in Notice queries X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c458bafaa1158b5e7224c5d240cb1abc365cce4d;p=quix0rs-gnu-social.git pass through $idField and $createdField in Notice queries --- diff --git a/classes/Notice.php b/classes/Notice.php index 50909f9707..14fffe6976 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -2033,7 +2033,7 @@ class Notice extends Memcached_DataObject */ public static function addWhereSinceId(DB_DataObject $obj, $id, $idField='id', $createdField='created') { - $since = self::whereSinceId($id); + $since = self::whereSinceId($id, $idField, $createdField); if ($since) { $obj->whereAdd($since); } @@ -2072,7 +2072,7 @@ class Notice extends Memcached_DataObject */ public static function addWhereMaxId(DB_DataObject $obj, $id, $idField='id', $createdField='created') { - $max = self::whereMaxId($id); + $max = self::whereMaxId($id, $idField, $createdField); if ($max) { $obj->whereAdd($max); }