зеркало из https://github.com/nextcloud/passman.git
Fix table name in ShareRequestMapper
This commit is contained in:
Родитель
966b74651d
Коммит
c41439b0c2
|
@ -5,7 +5,7 @@
|
|||
<description>A password manager for Nextcloud</description>
|
||||
<licence>AGPL</licence>
|
||||
<author>Sander Brand</author>
|
||||
<version>1.0.2.13</version>
|
||||
<version>1.0.2.15</version>
|
||||
<namespace>Passman</namespace>
|
||||
<category>other</category>
|
||||
<website>https://github.com/nextcloud/passman/</website>
|
||||
|
|
|
@ -14,7 +14,7 @@ use OCP\AppFramework\Db\Mapper;
|
|||
use OCP\IDBConnection;
|
||||
|
||||
class ShareRequestMapper extends Mapper {
|
||||
const TABLE_NAME = '`*PREFIX*passman_share_request`';
|
||||
const TABLE_NAME = 'passman_share_request';
|
||||
|
||||
public function __construct(IDBConnection $db, Utils $utils) {
|
||||
parent::__construct($db, self::TABLE_NAME);
|
||||
|
@ -22,6 +22,6 @@ class ShareRequestMapper extends Mapper {
|
|||
}
|
||||
|
||||
public function createRequest(ShareRequest $request){
|
||||
parent::insert($request);
|
||||
$this->insert($request);
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче