| @@ -6,9 +6,9 @@ | ||
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | namespace Activitypub\Cache; |
| 9 | 9 | |
| 10 | -use Activitypub\Collection\Remote_Posts; | |
| 10 | +use Activitypub\Collection\Posts; | |
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * Media cache class. |
| 14 | 14 | * |
| @@ -168,9 +168,9 @@ | ||
| 168 | 168 | * |
| 169 | 169 | * @param int $post_id The post ID being deleted. |
| 170 | 170 | */ |
| 171 | 171 | public static function maybe_cleanup( $post_id ) { |
| 172 | - if ( Remote_Posts::POST_TYPE !== \get_post_type( $post_id ) ) { | |
| 172 | + if ( Posts::POST_TYPE !== \get_post_type( $post_id ) ) { | |
| 173 | 173 | return; |
| 174 | 174 | } |
| 175 | 175 | |
| 176 | 176 | self::invalidate_entity( $post_id ); |