aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/DataFixtures
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-22 14:56:53 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-22 14:56:53 +0100
commitd64bf7953b0e4e793d7f75ec50bf6e42652560b2 (patch)
treec4b024b290911a3521d5a5b6166718dd9475661e /src/Wallabag/CoreBundle/DataFixtures
parent40f3ea57fbc86247495ef3c335f40f966a69aa50 (diff)
downloadwallabag-d64bf7953b0e4e793d7f75ec50bf6e42652560b2.tar.gz
wallabag-d64bf7953b0e4e793d7f75ec50bf6e42652560b2.tar.zst
wallabag-d64bf7953b0e4e793d7f75ec50bf6e42652560b2.zip
Added internal setting to enable/disable articles with paywall
Diffstat (limited to 'src/Wallabag/CoreBundle/DataFixtures')
-rw-r--r--src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php
index 1f74891a..a723656e 100644
--- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php
+++ b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php
@@ -155,6 +155,11 @@ class LoadSettingData extends AbstractFixture implements OrderedFixtureInterface
155 'value' => '0', 155 'value' => '0',
156 'section' => 'misc', 156 'section' => 'misc',
157 ], 157 ],
158 [
159 'name' => 'restricted_access',
160 'value' => '0',
161 'section' => 'entry',
162 ],
158 ]; 163 ];
159 164
160 foreach ($settings as $setting) { 165 foreach ($settings as $setting) {