forked from saurabh/orbit4-5
Merge branch 'development' of gitlab.tp.rulingcom.com:saurabh/orbit4-5
This commit is contained in:
commit
4fd0e2d315
|
@ -22,10 +22,10 @@ module OrbitApp
|
|||
end
|
||||
|
||||
def check_module_permissions
|
||||
store_token = Site.first.store_token
|
||||
module_apps = ModuleApp.all
|
||||
exceptions = OrbitStore::MODULE_EXCEPTIONS
|
||||
store_token = Site.first.store_token rescue nil
|
||||
if !store_token.nil?
|
||||
module_apps = ModuleApp.all
|
||||
exceptions = OrbitStore::MODULE_EXCEPTIONS
|
||||
ids = []
|
||||
module_index = {}
|
||||
module_apps.each do |ma|
|
||||
|
|
Loading…
Reference in New Issue