mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Replace AND and OR in PHP conditions by && and ||
This commit is contained in:
parent
bee6ad5916
commit
9c0d2c31e8
83 changed files with 596 additions and 596 deletions
|
@ -65,7 +65,7 @@ function ref_session_write($id, $data) {
|
|||
|
||||
$memcache = cache::memcache();
|
||||
$a = get_app();
|
||||
if (is_object($memcache) AND is_object($a)) {
|
||||
if (is_object($memcache) && is_object($a)) {
|
||||
$memcache->set($a->get_hostname().":session:".$id, $data, MEMCACHE_COMPRESSED, $expire);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue