Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Oct 27, 2021
1 parent da593e0 commit 6d0ff73
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/inbox/mod_inbox_rdbms.erl
Expand Up @@ -24,11 +24,6 @@
get_entry_properties/2,
set_entry_properties/3]).

%% For specific backends
-export([esc_string/1, esc_int/1]).

-ignore_xref([esc_int/1, esc_string/1]).

-type archived() :: binary().
-type muted_until() :: binary().
-type msg_content() :: binary().
Expand Down Expand Up @@ -204,15 +199,6 @@ decode_entries({BArchive, BCount, BMutedUntil}) ->
unread_count => Count,
muted_until => MutedUntil}.

-spec esc_string(binary() | string()) -> mongoose_rdbms:sql_query_part().
esc_string(String) ->
mongoose_rdbms:use_escaped_string(mongoose_rdbms:escape_string(String)).

-spec esc_int(integer()) -> mongoose_rdbms:sql_query_part().
esc_int(Integer) ->
mongoose_rdbms:use_escaped_integer(mongoose_rdbms:escape_integer(Integer)).


%% ----------------------------------------------------------------------
%% Internal functions
%% ----------------------------------------------------------------------
Expand Down

0 comments on commit 6d0ff73

Please sign in to comment.