Ticket #7878 (closed defect (bug): fixed)

Opened 3 years ago

Last modified 3 years ago

Allow __FILE__ to be passed to activate_plugin()/deactivate_plugin()

Reported by: DD32 Owned by: anonymous
Priority: normal Milestone: 2.7
Component: Administration Version: 2.7
Severity: normal Keywords: has-patch commit
Cc:

Description

Allow FILE to be passed to activate_plugin()/deactivate_plugin()

Its mainly for deactivate_plugin(FILE) for self-deactivation, However, for consistancy, i've also patched activate_plugin().

Attachments

7878.diff Download (1.5 KB) - added by DD32 3 years ago.
7878.2.diff Download (743 bytes) - added by DD32 3 years ago.
patch refresh without extra changes

Change History

DD323 years ago

comment:1   DD323 years ago

  • Keywords has-patch commit added

DD323 years ago

patch refresh without extra changes

comment:2   ryan3 years ago

  • Status changed from new to closed
  • Resolution set to fixed

(In [9271]) Allow FILE to be passed to activate_plugin()/deactivate_plugin(). Props DD32. fixes #7878

Note: See TracTickets for help on using tickets.