Merge pull request #1319 from JewelSam/master

#1220 adding the cell size attribute to the database
This commit is contained in:
Ana María Martínez Gómez 2017-04-03 10:23:49 +02:00 committed by GitHub
commit f3e712a1bc
19 changed files with 104 additions and 35 deletions

View file

@ -1,6 +0,0 @@
#sanitize the OSEM_SCHEUDLE_CELL_SIZE to be used for EventType::LENGTH_STEP
sched_cell_size = ENV['OSEM_SCHEDULE_CELL_SIZE'].to_i
if (sched_cell_size > 0 and 60 % sched_cell_size == 0)
SCHEDULE_CELL_SIZE = sched_cell_size
end