When uninstalling I get the following errors:

Notice: Use of undefined constant LESS_DEVEL - assumed 'LESS_DEVEL' in less_uninstall() (line 15 of D:\xampp\htdocs\less\sites\all\modules\less\less.install).
Notice: Use of undefined constant LESS_WATCH - assumed 'LESS_WATCH' in less_uninstall() (line 16 of D:\xampp\htdocs\less\sites\all\modules\less\less.install).
Notice: Use of undefined constant LESS_SOURCE_MAPS - assumed 'LESS_SOURCE_MAPS' in less_uninstall() (line 17 of D:\xampp\htdocs\less\sites\all\modules\less\less.install).

Comments

rocketeerbkw created an issue. See original summary.

rocketeerbkw’s picture

Status: Active » Needs review
StatusFileSize
new262 bytes

During uninstall .module files aren't loaded so the constants defined there aren't available.

Status: Needs review » Needs work

The last submitted patch, 2: less-undefined_constants_uninstall-2546660-2.patch, failed testing.

rocketeerbkw’s picture

Status: Needs work » Needs review
StatusFileSize
new266 bytes
corey.aufang’s picture

I will test this soon and commit if everything works out (looks as tho it will).

  • corey.aufang committed 16e2714 on 7.x-4.x
    Issue #2546660 by rocketeerbkw: Undefined constants during uninstall.
    
corey.aufang’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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