aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/config/delete.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-15 12:19:24 +0200
committerTristan Darricau <github@nicofuma.fr>2014-06-15 16:39:34 +0200
commit413754af1f2d10aae366f8255d0d91ec7e6fd878 (patch)
tree2f684648b0d299d2c533b50cbefada1b28681698 /phpBB/phpbb/console/command/config/delete.php
parent48b19ac37c8494f798f101f1964c6eb9996c2165 (diff)
downloadforums-413754af1f2d10aae366f8255d0d91ec7e6fd878.tar
forums-413754af1f2d10aae366f8255d0d91ec7e6fd878.tar.gz
forums-413754af1f2d10aae366f8255d0d91ec7e6fd878.tar.bz2
forums-413754af1f2d10aae366f8255d0d91ec7e6fd878.tar.xz
forums-413754af1f2d10aae366f8255d0d91ec7e6fd878.zip
[ticket/12715] Update console command config:* comments
PHPBB3-12715
Diffstat (limited to 'phpBB/phpbb/console/command/config/delete.php')
-rw-r--r--phpBB/phpbb/console/command/config/delete.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/phpBB/phpbb/console/command/config/delete.php b/phpBB/phpbb/console/command/config/delete.php
index e29afdbf82..1310bb18b4 100644
--- a/phpBB/phpbb/console/command/config/delete.php
+++ b/phpBB/phpbb/console/command/config/delete.php
@@ -14,11 +14,13 @@ namespace phpbb\console\command\config;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class delete extends command
{
+ /**
+ * {@inheritdoc}
+ */
protected function configure()
{
$this
@@ -32,6 +34,17 @@ class delete extends command
;
}
+ /**
+ * Executes the command config:delete.
+ *
+ * Removes a configuration option
+ *
+ * @param InputInterface $input An InputInterface instance
+ * @param OutputInterface $output An OutputInterface instance
+ *
+ * @return null
+ * @see \phpbb\config\config::delete()
+ */
protected function execute(InputInterface $input, OutputInterface $output)
{
$key = $input->getArgument('key');