diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-28 12:08:51 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-28 16:10:21 +0100 |
commit | 9aa991281ddd315f607cabcfc3b917401d3d2104 (patch) | |
tree | 278c6a17d808bd3d9aa132d9ef93d7e54842de58 /src/Wallabag/CoreBundle/Entity | |
parent | 56a7ce17f3a9a22e0bfc8651cb690a14447e0afd (diff) | |
download | wallabag-9aa991281ddd315f607cabcfc3b917401d3d2104.tar.gz wallabag-9aa991281ddd315f607cabcfc3b917401d3d2104.tar.zst wallabag-9aa991281ddd315f607cabcfc3b917401d3d2104.zip |
Renamed view_mode by list_mode and hide excerpt
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity')
-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 | } |