Michael Voříšek
793664f568
Fix invalid phpdocs ( #9252 )
...
* fix missing return type in phpdoc
* fix "phpdoc_scalar"
* Fix phpdoc variable names typos
* fix wrong phpdoc tags
2023-12-13 19:55:05 +01:00
Michael Stilkerich
2f5326a7bf
Pass port 0 as integer to Redis::connect() with unix socket ( #8749 )
...
The second parameter to Redis::connect() is an int parameter. Passing
null for it will trigger a PHP deprecation notice with PHP 8.1.
The Redis::connect() documentation shows that a 0 is used for the port
parameter in the examples with unix sockets where parameters beyond the
second parameter are set.
2022-11-11 13:21:57 +01:00
Aleksander Machniak
5ac44fd4ed
PHPDoc fixes
2021-02-28 11:58:27 +01:00
Aleksander Machniak
37d75d96a3
Short array syntax, CS fixes
2020-11-27 19:51:33 +01:00
Aleksander Machniak
a5c2b4360c
Fixes in context of undefined variables, and code style
2020-08-15 12:13:31 +02:00
Aleksander Machniak
0ccb351380
Fix regression in DB cache ( #7499 )
2020-07-21 20:15:05 +02:00
Aleksander Machniak
d7d7ca046f
Cache refactoring ( #6312 ) ( #6781 )
2020-07-18 13:51:47 +02:00
Paul J. Dorn
305c9355ee
Fix using unix:///path/to/socket.file in memcached driver ( #7210 )
...
off by one when stripping the memcache (sans d) compatible AF_UNIX prefix
2020-02-06 21:55:03 +01:00
Aleksander Machniak
1613f3ab4c
INSERT OR REPLACE implementation ( #6771 )
...
For now with support in postgres and mysql databases.
For now used in rcube_cache, rcube_imap_cache and enigma plugin
2020-01-19 18:43:48 +01:00
Aleksander Machniak
e7ebff56df
PHPDoc fixes
2019-09-30 20:43:07 +02:00
Aleksander Machniak
c6de97c5a8
Redis: Improve error handling and phpredis 5.X support ( #6888 )
2019-09-24 10:16:17 +02:00
Aleksander Machniak
902c264cf0
PHPRedis 5 compat. fix in session handler
2019-08-09 16:11:49 +02:00
Sandor Takacs
adcfa53532
Redis::delete() is deprecated in phpredis 5.0.0 ( #6883 )
...
Redis::delete() is deprecated in phpredis 5.0.0
2019-08-09 16:03:47 +02:00
Aleksander Machniak
ed9da6cb7f
Memcached: Don't add the same server to the pool many times when using persistent connections
2019-05-29 14:58:52 +02:00
Aleksander Machniak
fdac30e544
Support PECL memcached extension as a session and cache storage driver (experimental)
2019-05-26 11:50:33 +02:00
Aleksander Machniak
2dccbf2879
Redis: Support connection to unix socket
...
Also handle exceptions thrown on connection and remove support for
specifying hosts with redis:// scheme.
2019-05-19 09:41:00 +02:00
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
2019-04-16 10:42:45 +02:00
Aleksander Machniak
1058924e21
Move some framework classes to sub-directories
2018-03-03 17:46:59 +01:00