Skip to content
Snippets Groups Projects
Commit f2e6df80 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Add back check if installed around background jobs

parent ceafb5d7
Branches
No related tags found
No related merge requests found
...@@ -480,10 +480,12 @@ class OC ...@@ -480,10 +480,12 @@ class OC
if (OC_Util::issetlocaleworking() == false) { if (OC_Util::issetlocaleworking() == false) {
OC_Log::write('core', 'setting locate to en_US.UTF-8 failed. Support is probably not installed on your system', OC_Log::ERROR); OC_Log::write('core', 'setting locate to en_US.UTF-8 failed. Support is probably not installed on your system', OC_Log::ERROR);
} }
if (OC_Config::getValue('installed', false)) {
if (OC_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax') == 'ajax') { if (OC_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax') == 'ajax') {
OC_Util::addScript('backgroundjobs'); OC_Util::addScript('backgroundjobs');
} }
} }
}
/** /**
* register hooks for the cache * register hooks for the cache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment