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:
parent
e042a5d78f
commit
a42f38d9fb
26 changed files with 184 additions and 3 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue