|
Revision 12542, 0.7 kB
(checked in by fabien, 5 years ago)
|
[1.2] added a task to install core plugin assets in the upgrade task
|
- Property svn:mime-type set to
text/x-php
- Property svn:eol-style set to
native
- Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
class sfPluginAssetsUpgrade extends sfUpgrade |
|---|
| 20 |
{ |
|---|
| 21 |
public function upgrade() |
|---|
| 22 |
{ |
|---|
| 23 |
$publishAssets = new sfPluginPublishAssetsTask($this->dispatcher, $this->formatter); |
|---|
| 24 |
$publishAssets->setCommandApplication($this->commandApplication); |
|---|
| 25 |
$publishAssets->run(array(), array('--core-only')); |
|---|
| 26 |
} |
|---|
| 27 |
} |
|---|
| 28 |
|
|---|