]> git.mjollnir.org Git - moodle.git/commitdiff
Small documentation fix.
authorscyrma <scyrma>
Wed, 9 Jan 2008 04:10:02 +0000 (04:10 +0000)
committerscyrma <scyrma>
Wed, 9 Jan 2008 04:10:02 +0000 (04:10 +0000)
lib/dmllib.php

index 8b76fac5dcc049aa858d845cfeab445556c42ca6..74c4b0c79d58f1a2678d69c233a735c2200ac195 100644 (file)
@@ -1417,7 +1417,7 @@ function delete_records_select($table, $select='') {
  * @param string $table The database table to be checked against.
  * @param object $dataobject A data object with values for one or more fields in the record
  * @param bool $returnid Should the id of the newly created record entry be returned? If this option is not requested then true/false is returned.
- * @param string $primarykey The primary key of the table we are inserting into (almost always "id")
+ * @param string $primarykey (obsolete) This is now forced to be 'id'. 
  */
 function insert_record($table, $dataobject, $returnid=true, $primarykey='id') {