Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Commit

Permalink
Rename store_config to plugin_config
Browse files Browse the repository at this point in the history
  • Loading branch information
mdom committed Mar 11, 2016
1 parent 302fcdf commit 062b219
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions lib/App/txtnix/Plugin/GistStore.pm
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ sub store {

my $config = $app->read_config;

my $store_config = $config->{'GistStore'};
my $plugin_config = $config->{'GistStore'};

return if !$store_config;
return if !$plugin_config;

my $token = $store_config->{access_token};
my $username = $store_config->{user};
my $id = $store_config->{id};
my $token = $plugin_config->{access_token};
my $username = $plugin_config->{user};
my $id = $plugin_config->{id};

my $url =
Mojo::URL->new("https://api.github.com/gists")
Expand Down
4 changes: 2 additions & 2 deletions lib/App/txtnix/Plugin/LinkBack.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ sub linkback {

my $config = $app->read_config;

my $store_config = $config->{'LinkBack'};
my $plugin_config = $config->{'LinkBack'};

return if !$store_config;
return if !$plugin_config;
return if !$app->twturl;

my @mentions;
Expand Down

0 comments on commit 062b219

Please sign in to comment.