public function chromePing() { if ($this->logged_in !== true || parent::isChromeExtension() === false) { $this->data['errors'] = formatErrors(403); } else { $this->data['success'] = true; } $this->renderJSON(); }
public function chromePing() { if ($this->logged_in !== true || parent::isChromeExtension() === false) { $this->data['errors'] = formatErrors(403); } else { $this->data['success'] = true; } $this->renderJSON(); }