Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 17264 | Rev 17266 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 17264 Rev 17265
Línea 859... Línea 859...
859
                            ]);
859
                            ]);
860
                        }
860
                        }
861
                    }
861
                    }
Línea 862... Línea 862...
862
 
862
 
-
 
863
                    try {
863
                    try {
864
                        $this->logger->info('Cache users: ' . print_r($users, true));
864
                        $key = md5($currentUser->id . '-' . $topic->uuid . '-' . $topic->uuid);
865
                        $key = md5($currentUser->id . '-' . $topic->uuid . '-' . $topic->uuid);
865
                        $this->cache->setItem($key, serialize($users));
-
 
866
                        $this->logger->info('Cache operation successful: ' . $key);
866
                        $this->cache->setItem($key, serialize($users));
867
                    } catch (\Exception $e) {
867
                    } catch (\Exception $e) {
868
                        $this->logger->err('Cache operation failed: ' . $e->getMessage());
868
                        $this->logger->err('Cache operation failed: ' . $e->getMessage());
869
                        return new JsonModel([
869
                        return new JsonModel([
870
                            'success' => false,
870
                            'success' => false,