stable
Clone or download
Read-only
`$_SERVER['REQUEST_TIME'] ?? (new \DateTimeImmutable())->getTimestamp()` is duplicated everywhere. We now have a dedicated method to not repeat ourselves. Part of request #36805: Kanban item not found when creating a card in Kanban Change-Id: I19340d80b23644f3a6bccb6a8ee7f7de75ea4d78
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/include/Planning/VirtualTopMilestoneController.php | +1 | −1 | Go to diff View file |
M | plugins/docman/include/Docman_ItemFactory.class.php | +1 | −1 | Go to diff View file |
M | plugins/git/include/Git_LastPushesGraph.class.php | +1 | −1 | Go to diff View file |
M | plugins/kanban/include/Kanban/REST/v1/KanbanResource.php | +1 | −2 | Go to diff View file |
M | plugins/kanban/include/Kanban/ShowKanbanController.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/REST/Artifact/ArtifactCreator.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Action/CreateArtifact.class.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Action/CreateArtifactFromModal.class.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/MailGateway/MailGateway.class.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Tracker.class.php | +1 | −1 | Go to diff View file |
M | plugins/tracker_date_reminder/include/ArtifactDateReminder.class.php | +1 | −1 | Go to diff View file |
M | src/common/Dashboard/Project/ProjectDashboardController.php | +1 | −1 | Go to diff View file |
A | src/common/Request/RequestTime.php | +31 | −0 | Go to diff View file |
M | src/common/User/UserManager.class.php | +4 | −4 | Go to diff View file |
M | src/common/wiki/lib/WikiAttachment.class.php | +2 | −2 | Go to diff View file |
M | src/common/wiki/lib/WikiAttachmentDao.class.php | +1 | −1 | Go to diff View file |
A | tests/unit/common/Request/RequestTimeTest.php | +61 | −0 | Go to diff View file |