X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FAttach.php;h=3dfb2e21e7da79e7979d292f8e01d7ae4c938a46;hb=fb4c76a2b6e6037df47eda2252e9d4c2e24ea025;hp=e4d58c4b07b6c6a719ee3fc3d249b23aefde432a;hpb=c467bff79fcbed3d953eea051b89d4be20be506a;p=friendica.git diff --git a/src/Model/Attach.php b/src/Model/Attach.php index e4d58c4b07..3dfb2e21e7 100644 --- a/src/Model/Attach.php +++ b/src/Model/Attach.php @@ -1,6 +1,6 @@ getBasePath(), false); + $allfields = DI::dbaDefinition()->getAll(); $fields = array_keys($allfields['attach']['fields']); array_splice($fields, array_search('data', $fields), 1); return $fields; @@ -108,7 +107,7 @@ class Attach } /** - * Retrive a single record given the ID + * Retrieve a single record given the ID * * @param int $id Row id of the record * @@ -123,7 +122,7 @@ class Attach } /** - * Retrive a single record given the ID + * Retrieve a single record given the ID * * @param int $id Row id of the record * @@ -193,7 +192,7 @@ class Attach * @param string $allow_cid Permissions, allowed contacts. optional, default = '' * @param string $allow_gid Permissions, allowed groups. optional, default = '' * @param string $deny_cid Permissions, denied contacts.optional, default = '' - * @param string $deny_gid Permissions, denied greoup.optional, default = '' + * @param string $deny_gid Permissions, denied group.optional, default = '' * * @return boolean|integer Row id on success, False on errors * @throws \Friendica\Network\HTTPException\InternalServerErrorException