diff --git a/.gitignore b/.gitignore index 2f75ca1..2a3be65 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ !var/SymfonyRequirements.php /vendor/ /web/bundles/ +/**/*.php~ \ No newline at end of file diff --git a/app/Resources/views/previouslyownedflash/index.html.twig b/app/Resources/views/previouslyownedflash/index.html.twig index 13af562..b938181 100644 --- a/app/Resources/views/previouslyownedflash/index.html.twig +++ b/app/Resources/views/previouslyownedflash/index.html.twig @@ -3,7 +3,7 @@ {% block body %}

Previously Owned Flashes

- +
@@ -49,10 +49,4 @@ {% endfor %}
Actions
- - {% endblock %} diff --git a/src/CameraBundle/Entity/PreviouslyOwnedFlash.php b/src/CameraBundle/Entity/PreviouslyOwnedFlash.php index 10c996f..c8d10aa 100644 --- a/src/CameraBundle/Entity/PreviouslyOwnedFlash.php +++ b/src/CameraBundle/Entity/PreviouslyOwnedFlash.php @@ -10,7 +10,7 @@ use Doctrine\ORM\Mapping as ORM; * @ORM\Table(name="previously_owned_flash", schema="camera") * @ORM\Entity */ -class PreviouslyOwnedFlash extends Flash +class PreviouslyOwnedFlash { use PurchasePriceTrait; diff --git a/web/app_dev.php b/web/app_dev.php index 9823582..42dbe0f 100644 --- a/web/app_dev.php +++ b/web/app_dev.php @@ -7,9 +7,6 @@ require __DIR__.'/../vendor/autoload.php'; Debug::enable(); $kernel = new AppKernel('dev', true); -if (PHP_VERSION_ID < 70000) { - $kernel->loadClassCache(); -} $request = Request::createFromGlobals(); $response = $kernel->handle($request); $response->send();