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
No related branches found
No related tags found
No related merge requests found
...@@ -480,8 +480,10 @@ class OC ...@@ -480,8 +480,10 @@ 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_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax') == 'ajax') { if (OC_Config::getValue('installed', false)) {
OC_Util::addScript('backgroundjobs'); if (OC_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax') == 'ajax') {
OC_Util::addScript('backgroundjobs');
}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment