mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-15 09:55:49 +01:00
(refs #1101)Remove debug code
This commit is contained in:
@@ -22,7 +22,6 @@ class TransactionFilter extends Filter {
|
||||
|
||||
def doFilter(req: ServletRequest, res: ServletResponse, chain: FilterChain): Unit = {
|
||||
val servletPath = req.asInstanceOf[HttpServletRequest].getServletPath()
|
||||
println(servletPath)
|
||||
if(servletPath.startsWith("/assets/") || servletPath.startsWith("/git-lfs")){
|
||||
// assets and git-lfs don't need transaction
|
||||
chain.doFilter(req, res)
|
||||
|
||||
@@ -112,8 +112,7 @@ class AvatarImageProviderSpec extends FunSpec with MockitoSugar {
|
||||
useSMTP = false,
|
||||
smtp = None,
|
||||
ldapAuthentication = false,
|
||||
ldap = None,
|
||||
lfs = Lfs(None))
|
||||
ldap = None)
|
||||
|
||||
/**
|
||||
* Adapter to test AvatarImageProviderImpl.
|
||||
|
||||
Reference in New Issue
Block a user