]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/OpenWebAuthToken.php
Merge pull request #9 from nupplaphil/dependabot/composer/guzzlehttp/guzzle-6.5.8
[friendica.git] / src / Model / OpenWebAuthToken.php
index 0c85839bdea6490c659c963e9c8d42b5dfb8b259..5071b00d3a594a2e59b9b1276be4def3f0415af2 100644 (file)
@@ -84,7 +84,7 @@ class OpenWebAuthToken
         */
        public static function purge(string $type, string $interval)
        {
-               $condition = ['`type` = ? AND `created` < ?', $type, DateTimeFormat::utcNow() . ' - INTERVAL ' . $interval];
+               $condition = ["`type` = ? AND `created` < ?", $type, DateTimeFormat::utcNow() . ' - INTERVAL ' . $interval];
                DBA::delete('openwebauth-token', $condition);
        }