Skip to content

Commit 6e05b33

Browse files
committed
Merge branch 'master' of https://github.com/exilon/QuickLib
2 parents bf7beee + acdcb69 commit 6e05b33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: Quick.Data.Redis.pas

+3-3
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ TRedisClient = class
144144
function RedisZRANGE(const aKey : string; aStartPosition, aEndPosition : Int64) : TArray<string>;
145145
function RedisZRANGEBYSCORE(const aKey : string; aMinScore, aMaxScore : Int64) : TArray<TRedisSortedItem>;
146146
function RedisLLEN(const aKey : string): Integer;
147-
function RedisTTL(const aKey, aValue : string): Integer;
147+
function RedisTTL(const aKey: string): Integer;
148148
function RedisAUTH(const aPassword : string) : Boolean;
149149
function RedisPING : Boolean;
150150
function RedisQUIT : Boolean;
@@ -469,15 +469,15 @@ function TRedisClient.RedisLLEN(const aKey : string): Integer;
469469
end;
470470
end;
471471

472-
function TRedisClient.RedisTTL(const aKey, aValue : string): Integer;
472+
function TRedisClient.RedisTTL(const aKey : string): Integer;
473473
var
474474
rediscmd : IRedisCommand;
475475
response : IRedisResponse;
476476
begin
477477
Result := 0;
478478
rediscmd := TRedisCommand.Create('TTL')
479479
.AddArgument(aKey)
480-
.AddArgument(aValue);
480+
;
481481
response := Command(rediscmd.ToCommand);
482482
if response.IsDone then
483483
begin

0 commit comments

Comments
 (0)