forked from GNUsocial/gnu-social
Code cleaning, remove 'TEST' tags.
This commit is contained in:
parent
6387e0a90d
commit
f803b22752
@ -300,9 +300,7 @@ class ApiStatusesUpdateAction extends ApiAuthAction
|
|||||||
|
|
||||||
if (isset($upload)) {
|
if (isset($upload)) {
|
||||||
$status_shortened .= ' ' . $upload->shortUrl();
|
$status_shortened .= ' ' . $upload->shortUrl();
|
||||||
//JBTEST
|
|
||||||
$status_shortened = $this->auth_user->shortenlinks($status_shortened);
|
$status_shortened = $this->auth_user->shortenlinks($status_shortened);
|
||||||
//JBTEST
|
|
||||||
|
|
||||||
if (Notice::contentTooLong($status_shortened)) {
|
if (Notice::contentTooLong($status_shortened)) {
|
||||||
$upload->delete();
|
$upload->delete();
|
||||||
|
Loading…
Reference in New Issue
Block a user