From: Aaron Schulz Date: Tue, 26 Mar 2013 20:28:11 +0000 (-0700) Subject: Updated PostgreSQL insertId() docs to actually make sense. X-Git-Tag: 1.31.0-rc.0~20217 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=2e28e76acd3d54ee415490cb2e4f2d1eae1624c5;p=lhc%2Fweb%2Fwiklou.git Updated PostgreSQL insertId() docs to actually make sense. Change-Id: Ia6c7240094fc431924b650a327fa19e93ed18261 --- diff --git a/includes/db/DatabasePostgres.php b/includes/db/DatabasePostgres.php index c6ac11a215..55e0f88fb5 100644 --- a/includes/db/DatabasePostgres.php +++ b/includes/db/DatabasePostgres.php @@ -556,8 +556,10 @@ class DatabasePostgres extends DatabaseBase { } /** - * This must be called after nextSequenceVal - * @return null + * Return the result of the last call to nextSequenceValue(); + * This must be called after nextSequenceValue(). + * + * @return integer|null */ function insertId() { return $this->mInsertId;