From c41439b0c27da90c8ab0f870444a27c00f882f7d Mon Sep 17 00:00:00 2001 From: brantje Date: Sun, 2 Oct 2016 11:22:19 +0200 Subject: [PATCH] Fix table name in ShareRequestMapper --- appinfo/info.xml | 2 +- lib/Db/ShareRequestMapper.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index ca633d19..dc7f939e 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -5,7 +5,7 @@ A password manager for Nextcloud AGPL Sander Brand - 1.0.2.13 + 1.0.2.15 Passman other https://github.com/nextcloud/passman/ diff --git a/lib/Db/ShareRequestMapper.php b/lib/Db/ShareRequestMapper.php index 35fe8570..104fe575 100644 --- a/lib/Db/ShareRequestMapper.php +++ b/lib/Db/ShareRequestMapper.php @@ -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); } } \ No newline at end of file