From c3dc5b0317fed0e5beeb3f9480ca89ba2606da6d Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Fri, 11 Sep 2015 18:17:24 +0300 Subject: Add method docblock --- apps/files_versions/lib/expiration.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/files_versions') diff --git a/apps/files_versions/lib/expiration.php b/apps/files_versions/lib/expiration.php index 02885e823ca..d42c62f0ee3 100644 --- a/apps/files_versions/lib/expiration.php +++ b/apps/files_versions/lib/expiration.php @@ -112,6 +112,10 @@ class Expiration { return $isOlderThanMax || $isMinReached; } + /** + * Read versions_retention_obligation, validate it + * and set private members accordingly + */ private function parseRetentionObligation(){ $splitValues = explode(',', $this->retentionObligation); if (!isset($splitValues[0])) { -- cgit v1.2.3