aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-02-13 18:00:39 +0100
committerChristian Weiske <cweiske@cweiske.de>2014-02-13 18:00:39 +0100
commitcbf951471e3a3bb3f7ddd0f9ca2d07241aba756d (patch)
treee1dae08c061883d971bec09f1af25fbcd43d6103 /src
parentc2bc33952060ea4caffbe0a2edffea4a5361a9d5 (diff)
downloadbdrem-cbf951471e3a3bb3f7ddd0f9ca2d07241aba756d.tar.gz
bdrem-cbf951471e3a3bb3f7ddd0f9ca2d07241aba756d.zip
update configuration example file, fix variable names
Diffstat (limited to 'src')
-rw-r--r--src/bdrem/Config.php4
-rw-r--r--src/bdrem/UserInterface.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/bdrem/Config.php b/src/bdrem/Config.php
index 7a0fd68..04cf888 100644
--- a/src/bdrem/Config.php
+++ b/src/bdrem/Config.php
@@ -5,8 +5,8 @@ class Config
{
public $source;
public $date;
- public $daysBefore;
- public $daysAfter;
+ public $daysPrev;
+ public $daysNext;
public $locale;
public function load()
diff --git a/src/bdrem/UserInterface.php b/src/bdrem/UserInterface.php
index e4f7168..5fb028b 100644
--- a/src/bdrem/UserInterface.php
+++ b/src/bdrem/UserInterface.php
@@ -38,7 +38,7 @@ abstract class UserInterface
'description' => 'Show NUM days after date',
'help_name' => 'NUM',
'action' => 'StoreInt',
- 'default' => $this->config->daysAfter,
+ 'default' => $this->config->daysNext,
)
);
$parser->addOption(
@@ -49,7 +49,7 @@ abstract class UserInterface
'description' => 'Show NUM days before date',
'help_name' => 'NUM',
'action' => 'StoreInt',
- 'default' => $this->config->daysBefore,
+ 'default' => $this->config->daysPrev,
)
);
$parser->addOption(