Skip to content

Commit

Permalink
Issue #670 - Cleanup unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
robvandenbogaard committed Jul 7, 2020
1 parent 09e3eaf commit c98e566
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/mod_ginger_banner/mod_ginger_banner.erl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
manage_schema/2
]).

manage_schema(_Version, Context) ->
manage_schema(_Version, _Context) ->
#datamodel{
resources = [
{message_banner, text, [
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_ginger_base/mod_ginger_base.erl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ init(Context) ->
z_pivot_rsc:define_custom_pivot(ginger_search, [{is_unfindable, "boolean not null default false"}], Context).

%% @doc When ACL is enabled, create a default user in the editors group
manage_schema(_Version, Context) ->
manage_schema(_Version, _Context) ->
#datamodel{
categories=[
{agenda, query, [
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_ginger_embed/mod_ginger_embed.erl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

-include("zotonic.hrl").

manage_schema(_Version, Context) ->
manage_schema(_Version, _Context) ->
#datamodel{
categories=[
{ginger_embed, media, [
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_ginger_message/mod_ginger_message.erl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
manage_schema/2
]).

manage_schema(install, Context) ->
manage_schema(install, _Context) ->
#datamodel{
categories=[
{message, undefined, [
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_ginger_tagger/mod_ginger_tagger.erl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
event/2
]).

manage_schema(install, Context) ->
manage_schema(install, _Context) ->
#datamodel{
categories = [
{rfid_device, undefined, [
Expand Down

0 comments on commit c98e566

Please sign in to comment.