git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add DELETE /token/$username/$tokenKey API
[grauphel.git]
/
controller
/
guicontroller.php
diff --git
a/controller/guicontroller.php
b/controller/guicontroller.php
index 3c9c6f1f2a99b5d18d3a430dfbe33beceeaa20a1..6d59fd572ba4ccd725e786b1bced3d4cfe9d2de1 100644
(file)
--- a/
controller/guicontroller.php
+++ b/
controller/guicontroller.php
@@
-15,6
+15,7
@@
namespace OCA\Grauphel\Controller;
use \OCP\AppFramework\Controller;
use \OCP\AppFramework\Http\TemplateResponse;
use \OCP\AppFramework\Controller;
use \OCP\AppFramework\Http\TemplateResponse;
+use \OCA\Grauphel\Lib\Client;
use \OCA\Grauphel\Lib\TokenStorage;
/**
use \OCA\Grauphel\Lib\TokenStorage;
/**
@@
-108,10
+109,11
@@
class GuiController extends Controller
array(
'tokens' => $tokens->loadForUser(
$this->user->getUid(), 'access'
array(
'tokens' => $tokens->loadForUser(
$this->user->getUid(), 'access'
- )
+ ),
+ 'client' => new Client(),
)
);
)
);
- $this->addNavigation($res,
$rawtag
);
+ $this->addNavigation($res,
null
);
return $res;
}
return $res;
}