already initialized constant

This commit is contained in:
Karel Pičman 2023-05-15 12:52:57 +02:00
parent a9f7e6238a
commit 9a1533c3cc
2 changed files with 10 additions and 12 deletions

View File

@ -160,8 +160,8 @@ jobs:
litmus http://localhost:3000/dmsf/webdav/dmsf_test_project admin admin
kill `cat tmp/pids/server.pid`
bundle exec rake redmine:dmsf_webdav_test_off
env:
TESTS: "basic copymove props"
#env:
# TESTS: "basic copymove props"
- name: Cleanup
# Rollback plugin's changes to the database
# Stop the database engine

View File

@ -30,7 +30,6 @@ module RedmineDmsf
attr_reader :public_path
unless const_defined?(DIR_FILE)
DIR_FILE = %(
<tr>
<td class=\"name\"><a href=\"%s\">%s</a></td>
@ -39,7 +38,6 @@ module RedmineDmsf
<td class=\"mtime\">%s</td>
</tr>
)
end
def initialize(path, request, response, options)
raise NotFound if Setting.plugin_redmine_dmsf['dmsf_webdav'].blank?