Skip to content

Commit

Permalink
Scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Nov 4, 2014
1 parent 5af4452 commit 8a09aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kronolith/lib/Api.php
Expand Up @@ -293,7 +293,7 @@ public function put($path, $content, $content_type)
// the event's history.
$created = $modified = null;
try {
$history = $injector->getInstance('Horde_History');
$history = $GLOBALS['injector']->getInstance('Horde_History');
$created = $history->getActionTimestamp(
'kronolith:' . $calendar . ':' . $uid, 'add');
$modified = $history->getActionTimestamp(
Expand Down

0 comments on commit 8a09aa1

Please sign in to comment.