public function performChecks() { if (ShareCenter::currentContextIsLinkDownload()) { throw new Exception("Disable during link download"); } }