Standards

This commit is contained in:
Michael 2021-12-16 22:51:47 +00:00
parent b7a460485a
commit fd63421dde
2 changed files with 8 additions and 15 deletions

View File

@ -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
{
/**

View File

@ -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;
}
}