Skip to content
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.

Commit

Permalink
Merge pull request #28 from KryDos/master
Browse files Browse the repository at this point in the history
remove options after plugin has been deactivated

@krydos - tested, works well for me! Thank you very much!

r+
  • Loading branch information
Shane Tomlinson committed Jul 4, 2013
2 parents 397cb2b + 21e91a2 commit f91b2b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion browserid.php
Expand Up @@ -140,7 +140,8 @@ function Activate() {

// Handle plugin deactivation
function Deactivate() {
// TODO: delete options
if(get_option('browserid_options'))
delete_option('browserid_options');
}

// Add a "Settings" link to the plugin list page.
Expand Down

0 comments on commit f91b2b8

Please sign in to comment.