diff --git a/src/Module/Api/Friendica/Photo/Update.php b/src/Module/Api/Friendica/Photo/Update.php index c6bcadfa41..0eec5a3444 100644 --- a/src/Module/Api/Friendica/Photo/Update.php +++ b/src/Module/Api/Friendica/Photo/Update.php @@ -70,7 +70,7 @@ class Update extends BaseApi throw new HTTPException\BadRequestException('no albumname specified'); } - // check if photo is existing in databasei + // check if photo is existing in database if (!Photo::exists(['resource-id' => $photo_id, 'uid' => $uid, 'album' => $album])) { throw new HTTPException\BadRequestException('photo not available'); } diff --git a/src/Module/Owa.php b/src/Module/Owa.php index a3ff8d9838..8bbc9a916e 100644 --- a/src/Module/Owa.php +++ b/src/Module/Owa.php @@ -80,7 +80,7 @@ class Owa extends BaseModule $ret['success'] = true; $token = Strings::getRandomHex(32); - // Store the generated token in the databe. + // Store the generated token in the database. OpenWebAuthToken::create('owt', 0, $token, $contact['addr']); $result = '';