aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--controller/guicontroller.php2
-rw-r--r--lib/tokenstorage.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/controller/guicontroller.php b/controller/guicontroller.php
index 3c9c6f1..947e23e 100644
--- a/controller/guicontroller.php
+++ b/controller/guicontroller.php
@@ -111,7 +111,7 @@ class GuiController extends Controller
)
)
);
- $this->addNavigation($res, $rawtag);
+ $this->addNavigation($res, null);
return $res;
}
diff --git a/lib/tokenstorage.php b/lib/tokenstorage.php
index 4b5f420..b9689ab 100644
--- a/lib/tokenstorage.php
+++ b/lib/tokenstorage.php
@@ -29,11 +29,11 @@ class TokenStorage
/**
* Store the given token
*
- * @param OAuth_Token $token Token object to store
+ * @param Token $token Token object to store
*
* @return void
*/
- public function store(OAuth_Token $token)
+ public function store(Token $token)
{
\OC_DB::executeAudited(
'INSERT INTO `*PREFIX*grauphel_oauth_tokens`'