Ticket #29 (closed task: fixed)

Opened 5 years ago

Last modified 5 years ago

Toggle

Reported by: tobias382 Owned by: tobias382
Priority: normal Component: plugins
Version: 1.5 Severity: normal
Keywords: Cc:

Description

Add a new AdminCommand?-based plugin, Toggle, with onEnable and onDisable handlers that both accept the short name of a plugin. They should use the getInstance() method for that plugin class to get the active plugin instance, then call one or two new methods for the base plugin class, enable() and disable(), that toggle an internal flag. The call implementation of the base plugin class should be modified such that, if the plug in has been disabled, call does nothing.

Change History

Changed 5 years ago by tobias382

  • component changed from core to plugins
  • summary changed from Disable Plugin to Toggle

Changed 5 years ago by Seldaek

  • status changed from new to closed
  • resolution set to fixed

Done, see  main wiki page and  changeset 82 for implementation details.

Note: See TracTickets for help on using tickets.