]> git.mxchange.org Git - friendica.git/blobdiff - src/Security/OAuth.php
Add missing copyright text
[friendica.git] / src / Security / OAuth.php
index a28424c5eae482711e2e5b5fc5e8705251c983ef..a6f4fad80af0d117f564b2daafabfd942206b2ff 100644 (file)
@@ -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]) {