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
{
@@ -50,9 +49,9 @@ interface ControlProviderInterface
/**
* Find matching Term in the vocabulary repository
*
* @param string $query A scalar quaery
* @param User $for_user The user doing the query
* @param \databox $on_databox The databox where vocabulary should be requested
* @param string $query A scalar quaery
* @param User $for_user The user doing the query
* @param \databox $on_databox The databox where vocabulary should be requested
*
* @return Doctrine\Common\Collections\ArrayCollection
*/

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

@@ -297,7 +297,7 @@ class appbox extends base
// Executes stuff before applying patches
$app['phraseanet.pre-schema-upgrader']->apply($app);
$upgrader->add_steps_complete(1);
/**

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;