@@ 147-150 (lines=4) @@ | ||
144 | */ |
|
145 | public function remove_relation_to_term_taxonomy($term_taxonomy) |
|
146 | { |
|
147 | if (! $term_taxonomy) { |
|
148 | EE_Error::add_error( |
|
149 | sprintf( |
|
150 | __( |
|
151 | "No Term_Taxonomy provided which to remove from model object of type %s and id %d", |
|
152 | "event_espresso" |
|
153 | ), |
@@ 1519-1534 (lines=16) @@ | ||
1516 | $datetime = $this->get_latest_related_datetime(); |
|
1517 | $DTT_ID = $datetime instanceof EE_Datetime ? $datetime->ID() : 0; |
|
1518 | // verify the registration can checkin for the given DTT_ID |
|
1519 | } elseif (! $this->can_checkin($DTT_ID, $verify)) { |
|
1520 | EE_Error::add_error( |
|
1521 | sprintf( |
|
1522 | esc_html__( |
|
1523 | 'The given registration (ID:%1$d) can not be checked in to the given DTT_ID (%2$d), because the registration does not have access', |
|
1524 | 'event_espresso' |
|
1525 | ), |
|
1526 | $this->ID(), |
|
1527 | $DTT_ID |
|
1528 | ), |
|
1529 | __FILE__, |
|
1530 | __FUNCTION__, |
|
1531 | __LINE__ |
|
1532 | ); |
|
1533 | return false; |
|
1534 | } |
|
1535 | $status_paths = array( |
|
1536 | EE_Checkin::status_checked_never => EE_Checkin::status_checked_in, |
|
1537 | EE_Checkin::status_checked_in => EE_Checkin::status_checked_out, |