Small fix to the upgrade script

pull/762/head
iglocska 2015-11-20 01:09:02 +01:00
parent 0fb9a70449
commit ec566d6225
1 changed files with 1 additions and 1 deletions

View File

@ -1917,7 +1917,7 @@ class Server extends AppModel {
}
public function upgrade2324($user_id, $jobId = false) {
$this->__cleanCacheFiles();
$this->cleanCacheFiles();
if (Configure::read('MISP.background_jobs') && $jobId) {
$this->Job = ClassRegistry::init('Job');
$this->Job->id = $jobId;