This commit is contained in:
Bernd Bestel
2019-09-17 17:54:09 +02:00
parent 0771d58fe7
commit bbd5ce1dc4
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ class ApiKeyService extends BaseService
$apiKeyRow = $this->Database->api_keys()->where('api_key = :1 AND expires > :2 AND key_type = :3', $apiKey, date('Y-m-d H:i:s', time()), $keyType)->fetch();
if ($apiKeyRow !== null)
{
// This should not change the database file modification time at this is used
// This should not change the database file modification time as this is used
// to determine if REALLY something has changed
$dbModTime = $this->DatabaseService->GetDbChangedTime();
$apiKeyRow->update(array(