Skip to content

Commit

Permalink
changed some task to do "plugin:publish-assets" (fixes openpne#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kousuke Ebihara committed Jan 7, 2010
1 parent 08dd016 commit 4337cb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/task/openpneMigrateTask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ protected function execute($arguments = array(), $options = array())
{
throw $this->migrationException;
}

$task = new sfPluginPublishAssetsTask($this->dispatcher, $this->formatter);
$task->run(array(), array());
}

protected function migrateFromScript($target, $databaseManager)
Expand Down
3 changes: 3 additions & 0 deletions lib/task/openpneUpgradeFrom2Task.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,8 @@ protected function execute($arguments = array(), $options = array())

$this->logSection('upgrade', 'Begin upgrading from 2.x');
$upgrader->execute();

$task = new sfPluginPublishAssetsTask($this->dispatcher, $this->formatter);
$task->run(array(), array());
}
}

0 comments on commit 4337cb5

Please sign in to comment.