Skip to content

Commit

Permalink
No need for the $driver reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Sep 7, 2015
1 parent 59c8ffb commit e06031b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turba/lib/Api.php
Expand Up @@ -2270,7 +2270,7 @@ protected function _getSources($sources, $synchronize = false, $end = false)
throw new Turba_Exception(sprintf(_("Invalid address book: %s"), $val));
}
if ($synchronize) {
$driver = $GLOBALS['injector']
$GLOBALS['injector']
->getInstance('Turba_Factory_Driver')
->create($val)
->synchronize($end);
Expand Down

0 comments on commit e06031b

Please sign in to comment.