Add compatibility with nc 26

master
Jonas Letzbor 2023-07-24 20:21:43 +02:00
parent 98fcf778eb
commit f46f16f119
Signed by: RPJosh
GPG Key ID: 46D72F589702E55A
4 changed files with 5 additions and 6 deletions

View File

@ -11,7 +11,7 @@
<screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/1.png</screenshot> <screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/1.png</screenshot>
<screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/2.png</screenshot> <screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/2.png</screenshot>
<dependencies> <dependencies>
<nextcloud min-version="22" max-version="25"/> <nextcloud min-version="22" max-version="26"/>
</dependencies> </dependencies>
<website>https://github.com/nextcloud/weather</website> <website>https://github.com/nextcloud/weather</website>
<bugs>https://github.com/nextcloud/weather/issues</bugs> <bugs>https://github.com/nextcloud/weather/issues</bugs>

View File

@ -14,9 +14,9 @@ namespace OCA\Weather\Db;
use \OCP\IDBConnection; 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) { public function __construct (IDBConnection $db) {
parent::__construct($db, 'weather_city'); parent::__construct($db, 'weather_city');
} }

View File

@ -14,9 +14,9 @@ namespace OCA\Weather\Db;
use \OCP\IDBConnection; 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) { public function __construct (IDBConnection $db) {
parent::__construct($db, 'weather_config'); parent::__construct($db, 'weather_config');
} }

View File

@ -13,7 +13,6 @@ namespace OCA\Weather\Controller;
use \OCP\IRequest; use \OCP\IRequest;
use \OCP\AppFramework\Controller; use \OCP\AppFramework\Controller;
use \OCA\Weather\Controller\IntermediateController;
class IntermediateController extends Controller { class IntermediateController extends Controller {
private $curl; private $curl;