X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapistatusesupdate.php;h=590ba1f06e41d73e733d3ac3ec2e4b43c758b957;hb=65055044118978383006d52675a230aa09bb3220;hp=6b876c8f117a045b33f70d1a910443c63d5a1a91;hpb=8b585ff64771f823d12696947784f0b5bd693795;p=quix0rs-gnu-social.git diff --git a/actions/apistatusesupdate.php b/actions/apistatusesupdate.php index 6b876c8f11..590ba1f06e 100644 --- a/actions/apistatusesupdate.php +++ b/actions/apistatusesupdate.php @@ -211,7 +211,7 @@ class ApiStatusesUpdateAction extends ApiAuthAction $this->clientError(_('No such user.'), 404); } - /* Do not call shortenlinks until the whole notice has been build */ + /* Do not call shortenLinks until the whole notice has been build */ // Check for commands @@ -248,13 +248,13 @@ class ApiStatusesUpdateAction extends ApiAuthAction try { $upload = MediaFile::fromUpload('media', $this->scoped); $this->status .= ' ' . $upload->shortUrl(); - /* Do not call shortenlinks until the whole notice has been build */ + /* Do not call shortenLinks until the whole notice has been build */ } catch (NoUploadedMediaException $e) { // There was no uploaded media for us today. } /* Do call shortenlinks here & check notice length since notice is about to be saved & sent */ - $status_shortened = $this->auth_user->shortenlinks($this->status); + $status_shortened = $this->auth_user->shortenLinks($this->status); if (Notice::contentTooLong($status_shortened)) { if ($upload instanceof MediaFile) {