Use SQL transactions during sync
[grauphel.git] / controller / guicontroller.php
index 6d59fd572ba4ccd725e786b1bced3d4cfe9d2de1..58768f2e880883418be36d1ecf8613684bfa2ecb 100644 (file)
@@ -111,6 +111,7 @@ class GuiController extends Controller
                     $this->user->getUid(), 'access'
                 ),
                 'client' => new Client(),
+                'username' => $this->user->getUid(),
             )
         );
         $this->addNavigation($res, null);
@@ -122,6 +123,7 @@ class GuiController extends Controller
     {
         $nav = new \OCP\Template('grauphel', 'appnavigation', '');
         $nav->assign('apiroot', $this->getApiRootUrl());
+        $nav->assign('tags', array());
 
         $params = $res->getParams();
         $params['appNavigation'] = $nav;