I have a site that uses Submitted By and when looking at the variables listing that Devel provides there are two types of Submitted By variables:
- submitted_by_[node_type]
- submitted_by_comment_[node_type]
However, the uninstall function has: variable_del('submitted_by_comment_node_' . $type); which doesn't exist.
Also, what if a content type were deleted prior to uninstalling Submitted By? Then some variables would be left in the database...
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2429963-2.patch | 4.08 KB | tkuldeep17 |
Comments
Comment #1
tkuldeep17 commentedHi bwpanda,
Thanks for raising issue. In beta version, this variable problem does not exist. I have renamed variable.
+1 for raising "if a content type were deleted prior to uninstalling Submitted By? Then some variables would be left in the database." I will create patch for it.
And I am changing version to 7.x-1.x-beta1.
Comment #2
tkuldeep17 commentedComment #4
tkuldeep17 commentedI have fixed it, and releasing 7.x-1.0 version.