/** * Remove existing temporary files for a user * * @param String $session_key * * @return Boolean */ public function purgeAllTemporaryAttachments($session_key) { try { $current_user = $this->soap_request_validator->continueSession($session_key); $temporary = new Tracker_SOAP_TemporaryFile($current_user); return $temporary->purgeAllTemporaryFiles(); } catch (Exception $e) { return new SoapFault((string) $e->getCode(), $e->getMessage()); } }