]> git.mxchange.org Git - friendica.git/commitdiff
spelling: database
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 26 Mar 2023 22:07:08 +0000 (18:07 -0400)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 26 Mar 2023 22:59:11 +0000 (18:59 -0400)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
src/Module/Api/Friendica/Photo/Update.php
src/Module/Owa.php

index c6bcadfa41bfd99841d2cbacfbfee90a9092c2b5..0eec5a3444b195f4b0c687f0435e973967b9c79c 100644 (file)
@@ -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');
                }
index a3ff8d98380e94c1ef04b71a26ed5c5584bdbb30..8bbc9a916e862de0de2e1f82c6e45ce8f4c02534 100644 (file)
@@ -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 = '';