Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@

## Conventions
- **Changelogs**: Every user-facing change MUST have a changelog entry before opening a PR. Run `npm run changelog` (entries stored in `changelog/`).
Comment thread
donnapep marked this conversation as resolved.
- **Test assertions**: When a single test has multiple assertions, pass a message as the third argument to each assertion (e.g., `self::assertSame( $expected, $actual, 'Foo should be updated.' );`) so a failure points to the specific check that failed.
4 changes: 0 additions & 4 deletions changelog/fix-hpps-lesson-course-sync

This file was deleted.

6 changes: 0 additions & 6 deletions includes/class-sensei.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
use Sensei\Internal\Student_Progress\Quiz_Progress\Repositories\Quiz_Progress_Repository_Factory;
use Sensei\Internal\Student_Progress\Quiz_Progress\Repositories\Quiz_Progress_Repository_Interface;
use Sensei\Internal\Student_Progress\Services\Course_Deleted_Handler;
use Sensei\Internal\Student_Progress\Services\Lesson_Course_Sync_Handler;
use Sensei\Internal\Student_Progress\Services\Lesson_Deleted_Handler;
use Sensei\Internal\Student_Progress\Services\Quiz_Deleted_Handler;
use Sensei\Internal\Student_Progress\Services\User_Deleted_Handler;
Expand Down Expand Up @@ -820,11 +819,6 @@ public function initialize_global_objects() {
( new Quiz_Deleted_Handler( $this->quiz_progress_repository ) )->init();
( new User_Deleted_Handler( $this->course_progress_repository, $this->lesson_progress_repository, $this->quiz_progress_repository ) )->init();

// Keep parent_post_id on lesson progress rows in sync with the lesson's _lesson_course postmeta.
if ( $tables_feature_enabled ) {
( new Lesson_Course_Sync_Handler( $GLOBALS['wpdb'] ) )->init();
}

// Cron for periodically cleaning guest user related data.
Sensei_Temporary_User_Cleaner::instance()->init();
Comment thread
donnapep marked this conversation as resolved.

Expand Down

This file was deleted.

Loading
Loading