Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add plugin_disable function to WellWell::Plugin.
  • Loading branch information
racke committed Oct 24, 2010
1 parent d45abac commit a521353
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/WellWell/Plugin.pm
Expand Up @@ -88,6 +88,12 @@ sub plugin_enable {
$dbif->update('plugins', 'name = ' . $dbif->quote($plugin), active => 1);
}

sub plugin_disable {
my ($dbif, $plugin) = @_;

$dbif->update('plugins', 'name = ' . $dbif->quote($plugin), active => 0);
}

sub plugin_get_info {
my ($infofile) = @_;
my %info;
Expand Down

0 comments on commit a521353

Please sign in to comment.