diff --git a/api/src/Etemplate.php b/api/src/Etemplate.php index 7db2a093cd..cf0dab30b6 100644 --- a/api/src/Etemplate.php +++ b/api/src/Etemplate.php @@ -16,7 +16,6 @@ namespace EGroupware\Api; // explicitly import old not yet ported classes use egw; use egw_framework; -use egw_json_response; use categories; // css /** @@ -147,7 +146,7 @@ class Etemplate extends Etemplate\Widget\Template if ($output_mode == 4) { $output_mode = 0; - self::$response = egw_json_response::get(); + self::$response = Json\Response::get(); } self::$request->output_mode = $output_mode; // let extensions "know" they are run eg. in a popup self::$request->content = self::$cont = $content; @@ -274,13 +273,13 @@ class Etemplate extends Etemplate\Widget\Template echo '