diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2015-09-11 18:17:24 +0300 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2015-09-15 17:08:54 +0300 |
commit | c3dc5b0317fed0e5beeb3f9480ca89ba2606da6d (patch) | |
tree | 4e9a2c83b0ed59850ee0fdd8d4b3052ba44515f7 | |
parent | f46b434a122377596f7861a75fc50106ea514e8e (diff) | |
download | nextcloud-server-c3dc5b0317fed0e5beeb3f9480ca89ba2606da6d.tar.gz nextcloud-server-c3dc5b0317fed0e5beeb3f9480ca89ba2606da6d.zip |
Add method docblock
-rw-r--r-- | apps/files_versions/lib/expiration.php | 4 |
1 files changed, 4 insertions, 0 deletions
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])) { |