]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Controller/CalendarController.php
Add confirm or recover link
[airbundle] / Controller / CalendarController.php
index 40da028a2c8cb96b4ed9bac5d5f5fa2c335aa8a9..7b61e9e48b53cfd449f6b8ed0a889c337f1e14da 100644 (file)
@@ -135,7 +135,10 @@ class CalendarController extends DefaultController {
        /**
         * List all sessions for the organizer
         *
-        * @desc Display all sessions for the user with an application or login form
+        * Display all sessions for the user with an application or login form
+        *
+        * @todo Fetch all google calendar and let user select one
+        * @todo Then save the calendar fucking id in database ??? with token infos !!!
         *
         * @param Request $request The request instance
         *
@@ -199,7 +202,7 @@ class CalendarController extends DefaultController {
                                //With valid token
                                } else {
                                        //Retrieve cache object
-                                       $cache = new FilesystemAdapter($this->config['cache']['namespace'], $this->config['cache']['lifetime'], $this->config['cache']['directory']);
+                                       $cache = new FilesystemAdapter($this->config['cache']['namespace'], $this->config['cache']['lifetime'], $this->config['path']['cache']);
 
                                        //Retrieve calendars
                                        $cacheCalendars = $cache->getItem('calendars');