|
|
@ -42,8 +42,10 @@ class BackgroundCleanupUpdaterBackupsJob extends QueuedJob {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* This job cleans up all backups except the latest 3 from the updaters backup directory
|
|
|
|
* This job cleans up all backups except the latest 3 from the updaters backup directory
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param array $argument
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public function run($arguments): void {
|
|
|
|
public function run($argument): void {
|
|
|
|
$updateDir = $this->config->getSystemValue('updatedirectory', null) ?? $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data');
|
|
|
|
$updateDir = $this->config->getSystemValue('updatedirectory', null) ?? $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data');
|
|
|
|
$instanceId = $this->config->getSystemValue('instanceid', null);
|
|
|
|
$instanceId = $this->config->getSystemValue('instanceid', null);
|
|
|
|
|
|
|
|
|
|
|
|