Skip to content

Commit

Permalink
Merge pull request #28741 from owncloud/redis-fix
Browse files Browse the repository at this point in the history
Fix redis version compare
  • Loading branch information
Vincent Petry authored Aug 18, 2017
2 parents 5d4b96e + b8363ad commit 4e13c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/RedisFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ public function getInstance() {
public function isAvailable() {
return extension_loaded('redis')
&& (version_compare(phpversion('redis'), '2.2.5', '>=')
|| strcmp(phpversion('redis'), 'develop')==0)); // Using a developing Version?
|| strcmp(phpversion('redis'), 'develop')==0); // Using a developing Version?
}
}

0 comments on commit 4e13c66

Please sign in to comment.