-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Altered the plugin's logic so that now: 1. The tyl alert type and any tyl alerts are now removed only when the plugin is uninstalled and the admin selects "Yes" to delete all data. 2. When integrated with MyAlerts, the tyl alert type is disabled when the tyl plugin is deactivated, and (re)enabled when the tyl plugin is (re)activated. * Abstracted MyAlerts-related code into reusable functions to avoid duplicated logic where possible. * Updated README.md to document how to work around the old orphaning behaviour. Took the opportunity to at the same time rework the README to hopefully improve its readability. * Made some miscellaneous changes to MyAlerts-related code to, for example, improve comments and fix indentation.
- Loading branch information
Showing
4 changed files
with
364 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.