aboutsummaryrefslogtreecommitdiffstats
path: root/src/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'src/Plugin')
-rw-r--r--src/Plugin/GitHubCommit.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Plugin/GitHubCommit.hs b/src/Plugin/GitHubCommit.hs
index b95cfd2..a12087c 100644
--- a/src/Plugin/GitHubCommit.hs
+++ b/src/Plugin/GitHubCommit.hs
@@ -16,8 +16,6 @@ gitHubCommit = Plugin
, perform = gitHubCommitAction
}
--- gitHubCommitAction :: IO PluginAction
--- gitHubCommitAction :: M.Message -> Connection -> IO String
gitHubCommitAction :: PluginAction
gitHubCommitAction message dbConn = do
rs <- query_ dbConn "SELECT channel, repo_url \
@@ -35,7 +33,6 @@ type Id = Int
type RepoUrl = String
-- | A type to match the database table for this plugin.
--- data ChannelRepoUrl = ChannelRepoUrl Id M.Channel RepoUrl deriving (Show)
data ChannelRepoUrl = ChannelRepoUrl
{ channel :: M.Channel
, repoUrl :: RepoUrl