X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FOwa.php;h=93d610a7476d02ab4ad52a4eaa94e47b96a968f1;hb=0ec44f3e8a73229c3aadea86f61b5571a701c6b7;hp=ae3828fe31d8365276421329d6d4d2b684fd83d4;hpb=8ddb94ef0669948d11da6040e47eab386b91f3db;p=friendica.git diff --git a/src/Module/Owa.php b/src/Module/Owa.php index ae3828fe31..93d610a747 100644 --- a/src/Module/Owa.php +++ b/src/Module/Owa.php @@ -7,7 +7,6 @@ namespace Friendica\Module; use Friendica\BaseModule; use Friendica\Core\System; use Friendica\Database\DBA; -use Friendica\Database\DBM; use Friendica\Model\Contact; use Friendica\Model\OpenWebAuthToken; use Friendica\Util\HTTPSignature; @@ -52,7 +51,7 @@ class Owa extends BaseModule $contact = DBA::selectFirst('contact', $fields, $condition); - if (DBM::is_result($contact)) { + if (DBA::is_result($contact)) { // Try to verify the signed header with the public key of the contact record // we have found. $verified = HTTPSignature::verify('', $contact['pubkey']);