Browse files

access $injector from GLOBALS because it was not globalized here

  • Loading branch information...
1 parent a8e14d4 commit 64c620f347e952fa9c4e0743124b1193b084da7c @ralflang ralflang committed Apr 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 turba/lib/Turba.php
View
2 turba/lib/Turba.php
@@ -625,7 +625,7 @@ static public function createShare($share_name, $params)
/* Generate the new share. */
try {
- $turba_shares = $injector->getInstance('Turba_Shares');
+ $turba_shares = $GLOBALS['injector']->getInstance('Turba_Shares');
$share = $turba_shares->newShare($GLOBALS['registry']->getAuth(), $share_name, $name);

0 comments on commit 64c620f

Please sign in to comment.