From b8a5fbb16931a422b48e630b5877479886630f6d Mon Sep 17 00:00:00 2001 From: Johannes Nagl Date: Mon, 10 Nov 2014 16:50:50 +0100 Subject: [PATCH] streamline install guide --- src/CakeResque/Pages/install.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/CakeResque/Pages/install.md b/src/CakeResque/Pages/install.md index 0038d3f..0a52cbc 100644 --- a/src/CakeResque/Pages/install.md +++ b/src/CakeResque/Pages/install.md @@ -61,7 +61,6 @@ CakePlugin::load(array( # or CakePlugin::loadAll(array( ~~~ .language-php public function perform() { $this->initialize(); - $this->loadTasks(); return $this->runCommand($this->args[0], $this->args); } ~~~ @@ -71,13 +70,10 @@ public function perform() { ~~~ .language-php initialize(); - $this->loadTasks(); - $this->{array_shift($this->args)}(); + return $this->runCommand($this->args[0], $this->args); } } ~~~