Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

access $injector from GLOBALS because it was not globalized here

  • Loading branch information...
commit 64c620f347e952fa9c4e0743124b1193b084da7c 1 parent a8e14d4
@ralflang ralflang authored
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.
Something went wrong with that request. Please try again.