public function AjaxFilesPublicLinkDelete() { $mResult = false; $oAccount = $this->getDefaultAccountFromParam(); if (!$this->oApiCapability->IsFilesSupported($oAccount)) { throw new \ProjectSeven\Exceptions\ClientException(\ProjectSeven\Notifications::FilesNotAllowed); } $sType = $this->getParamValue('Type'); $sPath = $this->getParamValue('Path'); $sName = $this->getParamValue('Name'); $mResult = $this->oApiFilestorage->DeletePublicLink($oAccount, $sType, $sPath, $sName); return $this->DefaultResponse($oAccount, __FUNCTION__, $mResult); }