Add back check if installed around background jobs
This commit is contained in:
parent
ceafb5d7d1
commit
f2e6df807d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue