Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 10981 Rev 10985
Línea 609... Línea 609...
609
                    $feed->posted_or_shared = Feed::POSTED;
609
                    $feed->posted_or_shared = Feed::POSTED;
610
                    $feed->shared_with      = Feed::SHARE_WITH_CONNECTIONS;
610
                    $feed->shared_with      = Feed::SHARE_WITH_CONNECTIONS;
Línea 611... Línea 611...
611
 
611
 
612
                } else*/ 
612
                } else*/ 
-
 
613
                if($myt_id){
-
 
614
                    $feedMapper = FeedMapper::getInstance($this->adapter);
613
                if($myt_id){
615
                    $myt  = $feedMapper->fetchOneByUuid($myt_id);
614
                    $feed->company_id       = $currentCompany->id;
616
                    $feed->company_id       = $currentCompany->id;
615
                    $feed->group_id         = null;
617
                    $feed->group_id         = null;
616
                    $feed->user_id          = $owner->user_id;
618
                    $feed->user_id          = $owner->user_id;
617
                    $feed->myt_id           = $myt_id;
619
                    $feed->myt_id           = $myt->id;
618
                    $feed->related_id       = $myt_id;
620
                    $feed->related_id       = $myt->id;
619
                    $feed->type             = Feed::TYPE_MYT;
621
                    $feed->type             = Feed::TYPE_MYT;
620
                    $feed->posted_or_shared = Feed::POSTED;
622
                    $feed->posted_or_shared = Feed::POSTED;
621
                    $feed->shared_with      = Feed::SHARE_WITH_PUBLIC;
623
                    $feed->shared_with      = Feed::SHARE_WITH_PUBLIC;
622
                }else{
624
                }else{