diff --git a/lib/scm/subversion.class.php b/lib/scm/subversion.class.php index fca5841743..ac7afb777e 100644 --- a/lib/scm/subversion.class.php +++ b/lib/scm/subversion.class.php @@ -105,7 +105,8 @@ class Subversion ksort($dirs); $tags = array(); - $prefix = empty(trim($path, '/')) ? '/' : '/' . trim($path, '/') . '/'; + $trimed = trim($path, '/'); + $prefix = empty($trimed) ? '/' : '/' . $trimed . '/'; foreach($dirs as $dirNames) { ksort($dirNames); diff --git a/tools/check.php b/tools/check.php index e7aecc93b4..9cbf0344fa 100755 --- a/tools/check.php +++ b/tools/check.php @@ -108,12 +108,6 @@ $whiteList[] = 'testsuite-batchcreatecase'; $whiteList[] = 'testsuite-exporttemplet'; $whiteList[] = 'testsuite-import'; $whiteList[] = 'testsuite-showimport'; -$whiteList[] = 'webhook-browse'; -$whiteList[] = 'webhook-create'; -$whiteList[] = 'webhook-edit'; -$whiteList[] = 'webhook-bind'; -$whiteList[] = 'webhook-delete'; -$whiteList[] = 'webhook-log'; $whiteList[] = 'webhook-asyncsend'; $whiteList[] = 'testreport-setchartdatas'; $whiteList[] = 'chat-login';