From 2179af8a91fac4efbef3400c4e341d9e66b1cb54 Mon Sep 17 00:00:00 2001 From: Alfred Egger Date: Wed, 6 Nov 2019 15:52:47 +0100 Subject: [PATCH] Fix AppFramework CSP namespace --- lib/AppInfo/Application.php | 1 - lib/Controller/CityController.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 17377ef..df4baeb 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -14,7 +14,6 @@ namespace OCA\Weather\AppInfo; use \OCP\AppFramework\App; use \OCP\IContainer; -use \OCP\AppFramework\Http\StrictContentSecurityPolicy; use \OCA\Weather\Controller\CityController; use \OCA\Weather\Controller\SettingsController; diff --git a/lib/Controller/CityController.php b/lib/Controller/CityController.php index 19145cc..e9af16b 100644 --- a/lib/Controller/CityController.php +++ b/lib/Controller/CityController.php @@ -17,6 +17,7 @@ use \OCP\AppFramework\Http\TemplateResponse; use \OCP\AppFramework\Controller; use \OCP\AppFramework\Http\JSONResponse; use \OCP\AppFramework\Http; +use \OCP\AppFramework\Http\StrictContentSecurityPolicy; use \OCA\Weather\Db\CityEntity; use \OCA\Weather\Db\CityMapper;