1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-10-10 19:32:07 +00:00

Added a configuration to define the redirection after archiving an entry

Fix #496
This commit is contained in:
Nicolas Lœuillet 2016-11-06 12:02:39 +01:00 committed by Jeremy Benoist
parent e042a5d78f
commit a42f38d9fb
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
26 changed files with 184 additions and 3 deletions

View file

@ -87,6 +87,13 @@ class Config
*/
private $pocketConsumerKey;
/**
* @var int
*
* @ORM\Column(name="action_mark_as_read", type="integer", nullable=true)
*/
private $actionMarkAsRead;
/**
* @ORM\OneToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="config")
*/
@ -309,6 +316,26 @@ class Config
return $this->pocketConsumerKey;
}
/**
* @return int
*/
public function getActionMarkAsRead()
{
return $this->actionMarkAsRead;
}
/**
* @param int $actionMarkAsRead
*
* @return Config
*/
public function setActionMarkAsRead($actionMarkAsRead)
{
$this->actionMarkAsRead = $actionMarkAsRead;
return $this;
}
/**
* @param TaggingRule $rule
*