Converting filter module to DBTNG at Drupalcon DC code sprint.

Comments

dave reid’s picture

Title: convert filter module to DBTNG » DBTNG filter.module
Issue tags: +dc2009 code sprint

Standardizing title with all the other dbtng conversion issues.

ksenzee’s picture

Status: Active » Needs review
StatusFileSize
new11.43 KB
Crell’s picture

Status: Needs review » Needs work
+  $format = db_query('SELECT * FROM {filter_format} WHERE format = :format', array(':format' => $format))->fetch();

That should be fetchObject() for better readability.

+    $formats = array(db_query("SELECT * FROM {filter_format} WHERE format = :format", array(':format' => $format))->fetch());

Ibid. There are a couple more of those as well.

csevb10’s picture

StatusFileSize
new9.3 KB

Simple re-roll with the replacements suggested by Crell.

csevb10’s picture

Status: Needs work » Needs review

Changing status for review....

csevb10’s picture

StatusFileSize
new9.31 KB

Fixed a missed reference.

dropcube’s picture

Reviewed the patch, all db statements are converted... Seems RTBC.

dropcube’s picture

StatusFileSize
new9.01 KB

Re-rolling the patch.

dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks!

Status: Fixed » Closed (fixed)
Issue tags: -DBTNG Conversion, -dc2009 code sprint

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