http://cgit.drupalcode.org/publication_date/tree/publication_date.module... seems to handle nodes created before this module get's installed. It seems like code is not needed anymore: http://cgit.drupalcode.org/publication_date/tree/publication_date.instal...

I think the update in the install hook is a way better solution since it has no performance drawback...

CommentFileSizeAuthor
#1 remove-obsolete-code-2355633-2.patch774 bytesmuschpusch

Comments

muschpusch’s picture

StatusFileSize
new774 bytes

ok after installing on a site being on production for a while i'm a 100% sure the code is not needed. Patch attached for removing it.

muschpusch’s picture

Title: Obsolete code? » Obsolete code in hook_node_load

(changing title)

jstoller’s picture

Assigned: muschpusch » Unassigned
Status: Active » Needs review

  • jstoller committed 774b033 on 7.x-2.x
    #2355633 by muschpusch: Remove obsolete code in hook_node_load.
    
jstoller’s picture

Status: Needs review » Fixed

Committed to dev.

Status: Fixed » Closed (fixed)

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