Added revision activity types to system and audit log

Closes #3628
This commit is contained in:
Dan Brown
2022-08-09 13:25:18 +01:00
parent 7fa934e7f2
commit 6e0a7344fa
6 changed files with 22 additions and 2 deletions

View File

@@ -337,6 +337,7 @@ class PageRepo
$this->savePageRevision($page, $summary);
Activity::add(ActivityType::PAGE_RESTORE, $page);
Activity::add(ActivityType::REVISION_RESTORE, $revision);
return $page;
}