X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FEntity%2FConfig.php;fp=src%2FWallabag%2FCoreBundle%2FEntity%2FConfig.php;h=0b75270d451400bb5235333e01a4422598ffe600;hb=9aa991281ddd315f607cabcfc3b917401d3d2104;hp=70364ab684b33638cc5d68286d0342adeb5aa197;hpb=56a7ce17f3a9a22e0bfc8651cb690a14447e0afd;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Entity/Config.php b/src/Wallabag/CoreBundle/Entity/Config.php index 70364ab6..0b75270d 100644 --- a/src/Wallabag/CoreBundle/Entity/Config.php +++ b/src/Wallabag/CoreBundle/Entity/Config.php @@ -100,9 +100,9 @@ class Config /** * @var int * - * @ORM\Column(name="view_mode", type="integer", nullable=true) + * @ORM\Column(name="list_mode", type="integer", nullable=true) */ - private $viewMode; + private $listMode; /** * @ORM\OneToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="config") @@ -349,19 +349,19 @@ class Config /** * @return int */ - public function getViewMode() + public function getListMode() { - return $this->viewMode; + return $this->listMode; } /** - * @param int $viewMode + * @param int $listMode * * @return Config */ - public function setViewMode($viewMode) + public function setListMode($listMode) { - $this->viewMode = $viewMode; + $this->listMode = $listMode; return $this; }