protected function installPlugins() { $task = new opPluginSyncTask($this->dispatcher, $this->formatter); $task->run(); }
protected function installPlugins() { $task = new sfCacheClearTask($this->dispatcher, $this->formatter); $task->run(); $task = new openpnePermissionTask($this->dispatcher, $this->formatter); $task->run(); $task = new opPluginSyncTask($this->dispatcher, $this->formatter); $task->run(); }
public function run() { $task = new opPluginSyncTask($this->options['dispatcher'], $this->options['formatter']); $task->run(); }
protected function installPlugins($target = null) { if ('OpenPNE' === $target) { return null; } $task = new sfCacheClearTask($this->dispatcher, $this->formatter); @$task->run(); $task = new openpnePermissionTask($this->dispatcher, $this->formatter); @$task->run(); $options = array(); if ($target) { $options[] = '--target=' . $target; } $task = new opPluginSyncTask($this->dispatcher, $this->formatter); $task->run(array(), $options); }