mirror of
https://github.com/friendica/friendica
synced 2025-05-01 08:24:23 +02:00
Update DateTimeFormat documentation
- Remove an explicit default value parameter
This commit is contained in:
parent
d62f21cfa1
commit
ecaed2a845
3 changed files with 4 additions and 4 deletions
|
@ -176,7 +176,7 @@ class OAuth
|
|||
'write' => (stripos($scope, BaseApi::SCOPE_WRITE) !== false),
|
||||
'follow' => (stripos($scope, BaseApi::SCOPE_FOLLOW) !== false),
|
||||
'push' => (stripos($scope, BaseApi::SCOPE_PUSH) !== false),
|
||||
'created_at' => DateTimeFormat::utcNow(DateTimeFormat::MYSQL)];
|
||||
'created_at' => DateTimeFormat::utcNow()];
|
||||
|
||||
foreach ([BaseApi::SCOPE_READ, BaseApi::SCOPE_WRITE, BaseApi::SCOPE_WRITE, BaseApi::SCOPE_PUSH] as $scope) {
|
||||
if ($fields[$scope] && !$application[$scope]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue