public function deleteLogoPdf(Request $request, $databox_id)
    {
        $success = false;

        try {
            $this->getApplicationBox()->write_databox_pic(
                $this->app['media-alchemyst'],
                $this->app['filesystem'],
                $this->findDataboxById($databox_id),
                null,
                \databox::PIC_PDF
            );
            $success = true;
        } catch (\Exception $e) {

        }

        if ('json' === $request->getRequestFormat()) {
            return $this->app->json([
                'success' => $success,
                'msg'     => $success ? $this->app->trans('Successful removal') : $this->app->trans('An error occured'),
                'sbas_id' => $databox_id,
            ]);
        }

        // TODO: Check whether html call is still valid
        return $this->app->redirectPath('admin_database', [
            'databox_id' => $databox_id,
            'error'      => 'file-too-big',
        ]);
    }