Skip to content
Snippets Groups Projects

Added tests for Clear all 404 log entries button.

Merged Joshua Sedler requested to merge issue/redirect-2922444:2922444-remove-all-404 into 8.x-1.x
1 unresolved thread

Closes #2922444

Merge request reports

Approval is optional

Merged by Sascha GrossenbacherSascha Grossenbacher 3 years ago (Dec 9, 2021 9:40pm UTC)

Merge details

  • Changes merged into 8.x-1.x with da8abde3 (commits were squashed).
  • Did not delete the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
102 108 // Mark a potentially existing log entry for this path as resolved.
103 109 \Drupal::service('redirect.not_found_storage')->resolveLogRequest($path, $langcode);
104 110 }
111
112 /**
113 * Submit Handler for Reseting all the 404 logs from Database.
114 */
115 function redirect_404_reset_submit() {
116 $query = \Drupal::database()->truncate('redirect_404')->execute();
  • added 1 commit

    Compare with previous version

  • added 7 commits

    Compare with previous version

  • added 5 commits

    • e29b7f7a - 1 commit from branch project:8.x-1.x
    • 72bdb182 - Added tests for Clear all 404 log entries button.
    • 765fad38 - Issue #2922444 by pifagor, rajeshwari10, Grevil, Anybody: Remove all 404 from list
    • 92de58f9 - Fixed code style issues
    • 3f5c4ad2 - Removed unused variable.

    Compare with previous version

  • Please register or sign in to reply
    Loading