Skip to content

Commit

Permalink
This is how we signal transport drivers scripts to deactivate (Bug #1…
Browse files Browse the repository at this point in the history
…3297).
  • Loading branch information
yunosh committed Jul 1, 2014
1 parent 17e0d6f commit cd345df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ingo/lib/Script/Util.php
Expand Up @@ -36,6 +36,9 @@ static public function activate($scripts, $deactivate = false)
global $injector, $notification;

foreach ($scripts as $script) {
if ($deactivate) {
$script['script'] = '';
}
try {
$injector->getInstance('Ingo_Factory_Transport')
->create($script['transport'])
Expand Down

0 comments on commit cd345df

Please sign in to comment.