| @@ -74,17 +74,8 @@ | ||
| 74 | 74 | return 0 === $this->instructor_id && 0 === $this->category_id; |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | - * Stable identity for cache keys — two scopes with the same ids share a cache entry. | |
| 79 | - * | |
| 80 | - * @return array [ int instructor_id, int category_id ] | |
| 81 | - */ | |
| 82 | - public function signature(): array { | |
| 83 | - return array( $this->instructor_id, $this->category_id ); | |
| 84 | - } | |
| 85 | - | |
| 86 | - /** | |
| 87 | 78 | * Add scope joins/where to a query whose rows already carry a course id column. |
| 88 | 79 | * |
| 89 | 80 | * @param LP_Filter $filter Query filter to extend. |
| 90 | 81 | * @param string $course_id_field One of COURSE_ID_FIELDS. |