Standards
This commit is contained in:
parent
b7a460485a
commit
fd63421dde
|
@ -21,17 +21,10 @@
|
|||
|
||||
namespace Friendica\Module\Api\Twitter;
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Module\Api\ApiResponse;
|
||||
use Friendica\Module\BaseApi;
|
||||
use Friendica\Util\Profiler;
|
||||
use Friendica\Factory\Api\Twitter\DirectMessage;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
abstract class DirectMessagesEndpoint extends BaseApi
|
||||
{
|
||||
/**
|
||||
|
|
|
@ -92,13 +92,13 @@ class DirectMessage extends BaseDataTransferObject
|
|||
unset($status['title']);
|
||||
}
|
||||
|
||||
/* if (isset($status['sender']['uid'])) {
|
||||
if (isset($status['sender']['uid'])) {
|
||||
unset($status['sender']['uid']);
|
||||
}
|
||||
if (isset($status['recipient']['uid'])) {
|
||||
unset($status['recipient']['uid']);
|
||||
}
|
||||
*/
|
||||
|
||||
return $status;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user