diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Config.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Config.php | 14 |
1 files changed, 7 insertions, 7 deletions
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 | |||
100 | /** | 100 | /** |
101 | * @var int | 101 | * @var int |
102 | * | 102 | * |
103 | * @ORM\Column(name="view_mode", type="integer", nullable=true) | 103 | * @ORM\Column(name="list_mode", type="integer", nullable=true) |
104 | */ | 104 | */ |
105 | private $viewMode; | 105 | private $listMode; |
106 | 106 | ||
107 | /** | 107 | /** |
108 | * @ORM\OneToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="config") | 108 | * @ORM\OneToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="config") |
@@ -349,19 +349,19 @@ class Config | |||
349 | /** | 349 | /** |
350 | * @return int | 350 | * @return int |
351 | */ | 351 | */ |
352 | public function getViewMode() | 352 | public function getListMode() |
353 | { | 353 | { |
354 | return $this->viewMode; | 354 | return $this->listMode; |
355 | } | 355 | } |
356 | 356 | ||
357 | /** | 357 | /** |
358 | * @param int $viewMode | 358 | * @param int $listMode |
359 | * | 359 | * |
360 | * @return Config | 360 | * @return Config |
361 | */ | 361 | */ |
362 | public function setViewMode($viewMode) | 362 | public function setListMode($listMode) |
363 | { | 363 | { |
364 | $this->viewMode = $viewMode; | 364 | $this->listMode = $listMode; |
365 | 365 | ||
366 | return $this; | 366 | return $this; |
367 | } | 367 | } |