mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2026-03-03 02:47:02 +00:00
Refactor for atomic redis operations
This commit is contained in:
@@ -27,10 +27,6 @@ class Atomic
|
||||
}
|
||||
}
|
||||
|
||||
if (Cache::has($key)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return Cache::add($key, $value, $ttl);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user