apps/files_trashbin/lib/expiration.php 1 location
|
@@ 49-56 (lines=8) @@
|
46 |
|
/** @var bool */ |
47 |
|
private $canPurgeToSaveSpace; |
48 |
|
|
49 |
|
public function __construct(IConfig $config,ITimeFactory $timeFactory){ |
50 |
|
$this->timeFactory = $timeFactory; |
51 |
|
$this->retentionObligation = $config->getSystemValue('trashbin_retention_obligation', 'auto'); |
52 |
|
|
53 |
|
if ($this->retentionObligation !== 'disabled') { |
54 |
|
$this->parseRetentionObligation(); |
55 |
|
} |
56 |
|
} |
57 |
|
|
58 |
|
/** |
59 |
|
* Is trashbin expiration enabled |
apps/files_versions/lib/expiration.php 1 location
|
@@ 47-54 (lines=8) @@
|
44 |
|
/** @var bool */ |
45 |
|
private $canPurgeToSaveSpace; |
46 |
|
|
47 |
|
public function __construct(IConfig $config,ITimeFactory $timeFactory){ |
48 |
|
$this->timeFactory = $timeFactory; |
49 |
|
$this->retentionObligation = $config->getSystemValue('versions_retention_obligation', 'auto'); |
50 |
|
|
51 |
|
if ($this->retentionObligation !== 'disabled') { |
52 |
|
$this->parseRetentionObligation(); |
53 |
|
} |
54 |
|
} |
55 |
|
|
56 |
|
/** |
57 |
|
* Is versions expiration enabled |