Fix table name in ShareRequestMapper

This commit is contained in:
brantje 2016-10-02 11:22:19 +02:00
parent 966b74651d
commit c41439b0c2
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F
2 changed files with 3 additions and 3 deletions

View file

@ -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>

View file

@ -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);
}
}