stable

Clone or download

Read-only

Refactor the checking and the retrieving of the obsolescence date metadata

This is a part of the story #13417 Finish PATCH update hardcoded metadata The retrieveing of the obsolescence date timestamp in the creator and updator classes is now done via 1 method instead of 3 methods No functionnal change expected Change-Id: I6fe6c42c313755af755de2142d93f76dcee3b8e3

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanItemCreator.php +9 −18 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/DocmanEmbeddedFileUpdator.php +4 −31 Go to diff View file
M plugins/docman/include/REST/v1/Links/DocmanLinkUpdator.php +1 −10 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/HardcodedMetadataObsolescenceDateRetriever.php +13 −2 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/HardcodedMetdataObsolescenceDateChecker.php +3 −11 Go to diff View file
M plugins/docman/include/REST/v1/Wiki/DocmanWikiUpdator.php +4 −26 Go to diff View file
M plugins/docman/phpunit/Metadata/HardcodedMetadataObsolescenceDateRetrieverTest.php +38 −19 Go to diff View file
M plugins/docman/phpunit/Metadata/HardcodedMetdataObsolescenceDateCheckerTest.php +10 −22 Go to diff View file
M plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php +7 −37 Go to diff View file