mirror of
https://github.com/predis/predis.git
synced 2026-10-09 13:26:57 +00:00
Remove the 'on_connection_initialized' client option (useless in the vast majority of cases).
This commit is contained in:
@@ -22,13 +22,6 @@ class ClientOptions {
|
||||
self::$_sharedOptions = array(
|
||||
'profile' => new ClientProfile(),
|
||||
'key_distribution' => new ClientKeyDistribution(),
|
||||
'on_connection_initialized' => new CustomOption(array(
|
||||
'validate' => function($value) {
|
||||
if (is_callable($value)) {
|
||||
return $value;
|
||||
}
|
||||
},
|
||||
)),
|
||||
'connections' => new CustomOption(array(
|
||||
'default' => function() {
|
||||
return new ConnectionSchemes();
|
||||
|
||||
Reference in New Issue
Block a user