From: Christian Weiske Date: Tue, 30 Sep 2014 19:22:22 +0000 (+0200) Subject: fix owncloud.log notices X-Git-Tag: v0.3.0~19 X-Git-Url: https://git.cweiske.de/grauphel.git/commitdiff_plain/f38e545235173bb145e4b1c9c29dc2960a0a3389 fix owncloud.log notices --- 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`'