This commit is contained in:
Nicolas Le Goff
2014-02-14 16:40:27 +01:00
parent 7ac2358edd
commit efd69c6de8
7 changed files with 5 additions and 10 deletions

View File

@@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Notification;
use Alchemy\Phrasea\Exception\InvalidArgumentException;
use Alchemy\Phrasea\Model\Entities\User;
use Symfony\Component\Translation\TranslatorInterface;
class Emitter implements EmitterInterface
{

View File

@@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Notification;
use Alchemy\Phrasea\Exception\InvalidArgumentException;
use Alchemy\Phrasea\Model\Entities\User;
use Symfony\Component\Translation\TranslatorInterface;
class Receiver implements ReceiverInterface
{

View File

@@ -578,7 +578,7 @@ class Upgrade39 implements PreSchemaUpgradeInterface
// executes SQLS
$connection->beginTransaction();
try {
foreach(array_merge($sqlPreUpdate, $sqlUpdate, $sqlPostUpdate) as $sql) {
foreach (array_merge($sqlPreUpdate, $sqlUpdate, $sqlPostUpdate) as $sql) {
$connection->executeQuery($sql);
}
$connection->commit();

View File

@@ -12,7 +12,6 @@
namespace Alchemy\Phrasea\Vocabulary\ControlProvider;
use Alchemy\Phrasea\Model\Entities\User;
use Symfony\Component\Translation\TranslatorInterface;
interface ControlProviderInterface
{

View File

@@ -15,7 +15,6 @@ use Alchemy\Phrasea\Application;
use Alchemy\Phrasea\Model\Entities\User;
use Doctrine\Common\Collections\ArrayCollection;
use Alchemy\Phrasea\Vocabulary\Term;
use Symfony\Component\Translation\TranslatorInterface;
class UserProvider implements ControlProviderInterface
{

View File

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