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); } } ~~~