Proyectos de Subversion LeadersLinked - Backend

Rev

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

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