This commit is contained in:
Romain Neutron
2014-03-01 14:40:03 +01:00
parent f0e197ccd5
commit b836dc8632
3 changed files with 3 additions and 4 deletions

View File

@@ -89,9 +89,10 @@ class LiveInformation
try {
return $this->notifier->notify(Notifier::MESSAGE_INFORMATIONS);
} catch (RuntimeException $e) {
if($throwException) {
if ($throwException) {
throw $e;
}
return [];
}
}

View File

@@ -9,7 +9,6 @@
* file that was distributed with this source code.
*/
use Symfony\Component\Routing\Generator\UrlGenerator;
use Symfony\Component\HttpFoundation\Request;
interface Bridge_Api_Interface

View File

@@ -9,7 +9,6 @@
* file that was distributed with this source code.
*/
use Alchemy\Phrasea\Application;
use Doctrine\ORM\NoResultException;
use Doctrine\ORM\EntityManager;