lib/qooxview/helpers/config_base.rb in qooxview-1.9.10 vs lib/qooxview/helpers/config_base.rb in qooxview-1.9.11
- old
+ new
@@ -12,11 +12,10 @@
value_str :dputs_logall
value_text :welcome_text
value_block :narrow
value_str :locale_force
- value_str :version_local
value_str :use_printing
value_list_drop :openprint_simul, '%w(true false)'
value_str :openprint_search
value_int :debug_lvl
value_list_drop :dputs_show_time, '%w(false min sec)'
@@ -35,11 +34,10 @@
end
def migration_1(c)
c._debug_lvl = DEBUG_LVL
c._locale_force = 'fr'
- c._version_local = 'orig'
c._welcome_text = 'Welcome to Profeda'
# Values for slow, buggy lines. For a good transfer-rate, choose 16x more
c._block_size = 4096
c._max_upload_size = 65_536
c.dputs_logall = '/var/log/gestion/gestion.log'
@@ -73,11 +71,11 @@
def list_functions
self.list_functions
end
- def init
- Entities.ConfigBases.load
+ def init_load
+ ConfigBases.load
ConfigBases.singleton
ConfigBases.migrate
end
def self.singleton