Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 992f61867e | |||
| 72b119ac0c |
@@ -160,7 +160,7 @@ class AnswerController extends FOSRestController
|
||||
$message->setVideo($video);
|
||||
$em->persist($message);
|
||||
$em->flush();*/
|
||||
if ($this->container->get( 'kernel' )->getEnvironment() != "dev") {
|
||||
// if ($this->container->get( 'kernel' )->getEnvironment() != "dev") {
|
||||
$mailManager = $this->get('app.mail_manager');
|
||||
foreach ($usersCompany as $user){
|
||||
$link = $this->generateUrl('company_answer_show', array('id' => $answer->getId()), UrlGeneratorInterface::ABSOLUTE_URL);
|
||||
@@ -188,7 +188,7 @@ class AnswerController extends FOSRestController
|
||||
'contact_default'
|
||||
);
|
||||
}
|
||||
}
|
||||
// }
|
||||
$status = array('status' => "success", "idAnswer" => $answer->getId()/*, "idMessage" => $message->getId()*/);
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -377,7 +377,7 @@ class User extends BaseUser
|
||||
$zipCode = "";
|
||||
$city = "";
|
||||
$country = "";
|
||||
|
||||
$type=null;
|
||||
if($this->getCompany()->getPresentationVideo())
|
||||
{
|
||||
$pres= $this->getCompany()->getPresentationVideo()->getCdnUrl();
|
||||
@@ -424,7 +424,7 @@ class User extends BaseUser
|
||||
}
|
||||
}
|
||||
}
|
||||
$type=null;
|
||||
|
||||
if($this->getCompany()->getType()){
|
||||
$type=$this->getCompany()->getType();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user