summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Stevenson2008-06-16 21:45:11 (GMT)
committer Karen Stevenson2008-06-16 21:45:11 (GMT)
commit9f381af8af0834b528abbf0b65b724a08af761db (patch)
treef24d11cab937a352d75a903878b30be58b9a985f
parentc86709d797d75ca8d348c3bc3e4df1628530519d (diff)
#271294 Add TODO to get rid of content_write_record() once drupal_write_record() is patched.
-rw-r--r--CHANGELOG.txt1
-rw-r--r--content.module4
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index dcdd534..6a095f6 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -2,6 +2,7 @@
CCK 6.2.dev
============
+- #271294 Add TODO to get rid of content_write_record() once drupal_write_record() is patched.
- #271294 Add documentation for the reason for having a custom version of drupal_write_record.
- Avoid E_All error when prefixes and suffixes are not defined in number module.
- Avoid E_All error, don't try to return $item[0] if there are no items.
diff --git a/content.module b/content.module
index 8af551b..f64d057 100644
--- a/content.module
+++ b/content.module
@@ -946,6 +946,10 @@ function content_storage($op, $node) {
* Directly copied from core's drupal_write_record, which can't update a
* column to NULL. See http://drupal.org/node/227677 and
* http://drupal.org/node/226264 for more details about that problem.
+ *
+ * TODO - get rid of this function and change references back to
+ * drupal_write_record() if the patch gets into core. Will need a method
+ * of protecting people on older versions, though.
*
* Default values are filled in for missing items, and 'serial' (auto increment)
* types are filled in with IDs.