Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 283 Rev 333
Línea 195... Línea 195...
195
                    } else {
195
                    } else {
196
                        $category_ids = [];
196
                        $category_ids = [];
197
                    }
197
                    }
198
                }
198
                }
Línea 199... Línea 199...
199
                
199
                
200
                $storage = Storage::getInstance($this->config);
200
                $storage = Storage::getInstance($this->config, $this->adapter);
Línea 201... Línea 201...
201
                $path = $storage->getPathKnowledgeArea();
201
                $path = $storage->getPathKnowledgeArea();
202
 
202
 
Línea 474... Línea 474...
474
            $result =  $knowledgeAreaContentMapper->delete($knowledgeAreaContent);
474
            $result =  $knowledgeAreaContentMapper->delete($knowledgeAreaContent);
475
            if ($result) {
475
            if ($result) {
476
                $this->logger->info('Se borro el cotenido : ' .  $knowledgeAreaContent->title, ['user_id' => $currentUser->id, 'ip' => Functions::getUserIP()]);
476
                $this->logger->info('Se borro el cotenido : ' .  $knowledgeAreaContent->title, ['user_id' => $currentUser->id, 'ip' => Functions::getUserIP()]);
Línea 477... Línea 477...
477
 
477
 
478
                
478
                
Línea 479... Línea 479...
479
                $storage = Storage::getInstance($this->config);
479
                $storage = Storage::getInstance($this->config, $this->adapter);
480
                $target_path = $storage->getPathKnowledgeArea();
480
                $target_path = $storage->getPathKnowledgeArea();
Línea 774... Línea 774...
774
 
774
 
775
            $contentReactionMapper = ContentReactionMapper::getInstance($this->adapter);
775
            $contentReactionMapper = ContentReactionMapper::getInstance($this->adapter);
Línea 776... Línea 776...
776
            $contentReaction = $contentReactionMapper->fetchOneByKnowledgeAreaIdAndUserId($knowledgeAreaContent->id, $currentUser->id);
776
            $contentReaction = $contentReactionMapper->fetchOneByKnowledgeAreaIdAndUserId($knowledgeAreaContent->id, $currentUser->id);
777
 
777
 
Línea 778... Línea 778...
778
 
778
 
779
            $storage = Storage::getInstance($this->config);
779
            $storage = Storage::getInstance($this->config, $this->adapter);
780
            $path = $storage->getPathKnowledgeArea();
780
            $path = $storage->getPathKnowledgeArea();
Línea 833... Línea 833...
833
            
833
            
Línea 834... Línea 834...
834
            $userMapper = UserMapper::getInstance($this->adapter);
834
            $userMapper = UserMapper::getInstance($this->adapter);
Línea 835... Línea 835...
835
            
835
            
836
            $items = [];
836
            $items = [];
Línea 837... Línea 837...
837
            
837
            
838
            $storage = Storage::getInstance($this->config);
838
            $storage = Storage::getInstance($this->config, $this->adapter);
Línea 1236... Línea 1236...
1236
        $knowledgeAreaContent = $knowledgeAreaContentMapper->fetchOne($record->knowledge_area_id);
1236
        $knowledgeAreaContent = $knowledgeAreaContentMapper->fetchOne($record->knowledge_area_id);
Línea 1237... Línea 1237...
1237
 
1237
 
1238
        
1238
        
Línea 1239... Línea 1239...
1239
        
1239
        
Línea 1240... Línea 1240...
1240
        if ($record) {
1240
        if ($record) {