getResponse(); } /** * @param string $theme * @param string $template * @param string $content * @return array */ public function update( $theme, $template, $content ) { $template = new \OCA\Files_Sharing\MailTemplate( $theme, $template ); $template->setContent( $content ); return new JSONResponse(); } /** * @param string $theme * @param string $template * @return array */ public function reset( $theme, $template ) { $template = new \OCA\Files_Sharing\MailTemplate( $theme, $template ); $template->reset(); return new JSONResponse(); } }