mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
Fixed Nextcloud 12 compatibility (#181)
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace OCA\OcSms\Db;
|
||||
|
||||
use \OCP\IDb;
|
||||
use \OCP\IDBConnection;
|
||||
|
||||
use \OCP\AppFramework\Db\Mapper;
|
||||
|
||||
@@ -33,7 +33,7 @@ class SmsMapper extends Mapper {
|
||||
);
|
||||
private $convStateMapper;
|
||||
|
||||
public function __construct (IDb $db, ConversationStateMapper $cmapper) {
|
||||
public function __construct (IDBConnection $db, ConversationStateMapper $cmapper) {
|
||||
parent::__construct($db, 'ocsms_smsdatas');
|
||||
$this->convStateMapper = $cmapper;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user