Hi dev, there is no need to add the following line of code in the image_approval.install file include_once drupal_get_path("module", "image_approval") . '/' . "image_approval.module";. All *.module files are automatically included on every page request same as *.install file is called when installing/uninstalling a module.

CommentFileSizeAuthor
#2 remove_include_once-2891944-2.patch407 bytesvishwac9

Comments

vishwac9 created an issue. See original summary.

vishwac9’s picture

Status: Active » Needs review
StatusFileSize
new407 bytes

Please find attached patch

prethiee’s picture

Status: Needs review » Patch (to be ported)

Thanks for the patch vishwac9.

  • PertFayonner committed 92ed54c on 7.x-1.x
    Issue #2891944 by vishwac9,pertfayonner: Remove include_once from ....
prethiee’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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