diff --git a/appinfo/info.xml b/appinfo/info.xml index 4f55bce..b2ac3aa 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -11,7 +11,7 @@ https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/1.png https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/2.png - + https://github.com/nextcloud/weather https://github.com/nextcloud/weather/issues diff --git a/db/citymapper.php b/db/citymapper.php index cacf5c4..15901b9 100644 --- a/db/citymapper.php +++ b/db/citymapper.php @@ -14,9 +14,9 @@ namespace OCA\Weather\Db; use \OCP\IDBConnection; -use \OCP\AppFramework\Db\Mapper; +use \OCP\AppFramework\Db\QbMapper; -class CityMapper extends Mapper { +class CityMapper extends QbMapper { public function __construct (IDBConnection $db) { parent::__construct($db, 'weather_city'); } diff --git a/db/settingsmapper.php b/db/settingsmapper.php index 3df15eb..991cbe2 100644 --- a/db/settingsmapper.php +++ b/db/settingsmapper.php @@ -14,9 +14,9 @@ namespace OCA\Weather\Db; use \OCP\IDBConnection; -use \OCP\AppFramework\Db\Mapper; +use \OCP\AppFramework\Db\QbMapper; -class SettingsMapper extends Mapper { +class SettingsMapper extends QbMapper { public function __construct (IDBConnection $db) { parent::__construct($db, 'weather_config'); } diff --git a/lib/Controller/IntermediateController.php b/lib/Controller/IntermediateController.php index 84c2255..b058521 100644 --- a/lib/Controller/IntermediateController.php +++ b/lib/Controller/IntermediateController.php @@ -13,7 +13,6 @@ namespace OCA\Weather\Controller; use \OCP\IRequest; use \OCP\AppFramework\Controller; -use \OCA\Weather\Controller\IntermediateController; class IntermediateController extends Controller { private $curl;