refactor $api = $app->getApiGuest(); to $api = $this->di['api_guest'];

getApiGuest is deprecated
This commit is contained in:
Vaidas Lungis committed 2015-03-18 14:10:29 +02:00
1 parent d154b96616
commit e4748de1c4
11 files changed
+15 -19

No files matched your search

@@ -52,7 +52,6 @@ class Client implements \Box\InjectionAwareInterface
public function get_index(\Box_App $app)
{
$api = $app->getApiGuest();
return $app->render('mod_example_index');
}