Looks like as part of the "We've got a new DB API" section they forgot to mention that db_column_exists() was renamed to db_field_exists() with no parameter changes. solotandem gave me a quick overview on how to do these upgrade routines so I'm going to give it a shot.

CommentFileSizeAuthor
#1 coder_776856.patch922 bytesdrewish

Comments

drewish’s picture

Status: Active » Needs review
StatusFileSize
new922 bytes

Sample:

$ret = db_column_exists('table', 'field');
$ret = db_column_exists($table, $field);
if ($ret = db_column_exists('table', 'field')) {
}
solotandem’s picture

Assigned: Unassigned » solotandem
Status: Needs review » Fixed

Implemented in next dev release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.