Add compatibility with nc 26
parent
98fcf778eb
commit
f46f16f119
|
@ -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/2.png</screenshot>
|
||||
<dependencies>
|
||||
<nextcloud min-version="22" max-version="25"/>
|
||||
<nextcloud min-version="22" max-version="26"/>
|
||||
</dependencies>
|
||||
<website>https://github.com/nextcloud/weather</website>
|
||||
<bugs>https://github.com/nextcloud/weather/issues</bugs>
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue