aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-07-01 09:32:13 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-07-03 13:40:47 +0200
commit9114615adcee0255273c7e91d6d8e55f57fc3d6f (patch)
tree660d4ac71a183da2f3d229adb6683ee9268e29bf /src
parent71e1cbc8eb5928d393b0772055d6b711e90a09b3 (diff)
downloadwallabag-9114615adcee0255273c7e91d6d8e55f57fc3d6f.tar.gz
wallabag-9114615adcee0255273c7e91d6d8e55f57fc3d6f.tar.zst
wallabag-9114615adcee0255273c7e91d6d8e55f57fc3d6f.zip
Fixed mapping entities
There were this error in the console: > The association Wallabag\CoreBundle\Entity\SiteCredential#user refers to the inverse side field Wallabag\UserBundle\Entity\User#site_credentials which does not exist.
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/UserBundle/Entity/User.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Wallabag/UserBundle/Entity/User.php b/src/Wallabag/UserBundle/Entity/User.php
index 20aca298..a3320bbc 100644
--- a/src/Wallabag/UserBundle/Entity/User.php
+++ b/src/Wallabag/UserBundle/Entity/User.php
@@ -95,6 +95,13 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf
95 /** 95 /**
96 * @var ArrayCollection 96 * @var ArrayCollection
97 * 97 *
98 * @ORM\OneToMany(targetEntity="Wallabag\CoreBundle\Entity\SiteCredential", mappedBy="user", cascade={"remove"})
99 */
100 protected $site_credentials;
101
102 /**
103 * @var ArrayCollection
104 *
98 * @ORM\OneToMany(targetEntity="Wallabag\ApiBundle\Entity\Client", mappedBy="user", cascade={"remove"}) 105 * @ORM\OneToMany(targetEntity="Wallabag\ApiBundle\Entity\Client", mappedBy="user", cascade={"remove"})
99 */ 106 */
100 protected $clients; 107 protected $clients;