diff options
author | James Moger <james.moger@gitblit.com> | 2011-12-19 09:15:08 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-12-19 09:15:08 -0500 |
commit | a50c4afdde37845b94b3545029ed9aac5796fdf7 (patch) | |
tree | 151b6d4a04b24c7e62864e9dc60edf48c4472ce5 /groovy | |
parent | 916e848bd77cc0a63f083ff48e5a2e4e788e1f51 (diff) | |
download | gitblit-a50c4afdde37845b94b3545029ed9aac5796fdf7.tar.gz gitblit-a50c4afdde37845b94b3545029ed9aac5796fdf7.zip |
More sendemail.groovy fixes
Diffstat (limited to 'groovy')
-rw-r--r-- | groovy/sendemail.groovy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/groovy/sendemail.groovy b/groovy/sendemail.groovy index 6792d94d..69e2b93d 100644 --- a/groovy/sendemail.groovy +++ b/groovy/sendemail.groovy @@ -77,7 +77,7 @@ def emailprefix = config.getString('hooks', null, 'emailprefix') // set default values
def toAddresses = []
if (emailprefix == null)
-emailprefix = '"[Gitblit]'
+emailprefix = '[Gitblit]'
if (mailinglist != null) {
def addrs = mailinglist.split('(,|\\s)')
@@ -99,7 +99,7 @@ switch(repository.name) { }
// define the summary and commit urls
-def repo = + repository.name.replace('/', gitblit.getString(Keys.web.forwardSlashCharacter, '/'))
+def repo = repository.name.replace('/', gitblit.getString(Keys.web.forwardSlashCharacter, '/'))
def summaryUrl
def commitUrl
if (gitblit.getBoolean(Keys.web.mountParameters, true)) {
|