From f38e545235173bb145e4b1c9c29dc2960a0a3389 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 30 Sep 2014 21:22:22 +0200 Subject: [PATCH] fix owncloud.log notices --- controller/guicontroller.php | 2 +- lib/tokenstorage.php | 4 ++-- 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`' -- 2.30.2