Commit 7cce40d1 authored by Alan's avatar Alan
Browse files

fix upgrade conflicts to nc12

parent 6c768774
......@@ -12,6 +12,6 @@
<category>tools</category>
<dependencies>
<owncloud min-version="9.2"/>
<nextcloud min-version="11" max-version="11"/>
<nextcloud min-version="11" max-version="12"/>
</dependencies>
</info>
<?php
namespace OCA\Geolocation\Db;
use OCP\IDb;
use OCP\IDbConnection;
use OCP\AppFramework\Db\Mapper;
class LocationMapper extends Mapper {
public function __construct(IDb $db) {
public function __construct(IDbConnection $db) {
parent::__construct($db, 'geolocation_location', '\OCA\Geolocation\Db\Location');
}
......@@ -46,6 +46,7 @@ class LocationMapper extends Mapper {
}
$stmt->closeCursor();
return $result;
// return "bla";
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment