| @@ -9,9 +9,9 @@ | ||
| 9 | 9 | |
| 10 | 10 | use Activitypub\Activity\Activity; |
| 11 | 11 | use Activitypub\Collection\Actors; |
| 12 | 12 | use Activitypub\Collection\Outbox; |
| 13 | -use Activitypub\Collection\Remote_Posts; | |
| 13 | +use Activitypub\Collection\Posts; | |
| 14 | 14 | |
| 15 | 15 | use function Activitypub\add_to_outbox; |
| 16 | 16 | |
| 17 | 17 | /** |
| @@ -106,9 +106,9 @@ | ||
| 106 | 106 | |
| 107 | 107 | $processed = $this->process_user_deletions( $user_ids ); |
| 108 | 108 | |
| 109 | 109 | // Delete all remote posts. |
| 110 | - $deleted_posts = Remote_Posts::delete_all(); | |
| 110 | + $deleted_posts = Posts::delete_all(); | |
| 111 | 111 | if ( $deleted_posts > 0 ) { |
| 112 | 112 | \WP_CLI::line( \WP_CLI::colorize( "%G✓%n Deleted {$deleted_posts} remote post(s)." ) ); |
| 113 | 113 | } |
| 114 | 114 | |