| @@ -163,9 +163,9 @@ | ||
| 163 | 163 | ->remove('reviews') |
| 164 | 164 | ->remove('cloud_activity') |
| 165 | 165 | ->remove('api_key'); |
| 166 | 166 | |
| 167 | - if( $this->utils('options')->who_am_i() === 'global' ) { | |
| 167 | + if( $this->utils('options')->whoami() === 'global' ) { | |
| 168 | 168 | $this->utils('options')->remove_global_login(); |
| 169 | 169 | } |
| 170 | 170 | |
| 171 | 171 | return new WP_Error( 'invalid_api_key', $message, $_additional_data ); |