Code cleaning, remove 'TEST' tags.
This commit is contained in:
parent
ec072e0af7
commit
344a10be8b
@ -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