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:
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace OCA\OcSms\Db;
|
||||
|
||||
use \OCP\IDb;
|
||||
use \OCP\IDBConnection;
|
||||
|
||||
use \OCP\AppFramework\Db\Mapper;
|
||||
|
||||
@@ -19,7 +19,7 @@ use \OCA\OcSms\AppInfo\OcSmsApp;
|
||||
use \OCA\OcSms\Lib\PhoneNumberFormatter;
|
||||
|
||||
class ConversationStateMapper extends Mapper {
|
||||
public function __construct (IDb $db) {
|
||||
public function __construct (IDBConnection $db) {
|
||||
parent::__construct($db, 'ocsms_smsdatas');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user