summaryrefslogtreecommitdiffstats
path: root/controller/usersettingscontroller.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-02 13:48:16 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-02 13:48:16 +0200
commit76fd21bccd1b87916f149a257e07d02f5e40335a (patch)
tree250f294b2644a22be4fd2da2f75b5addcbb0282c /controller/usersettingscontroller.php
parent2a0804a8cfc14f4f4afe17694783517af195ca50 (diff)
added simple twitter fetcher implementation
Diffstat (limited to 'controller/usersettingscontroller.php')
-rw-r--r--controller/usersettingscontroller.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/controller/usersettingscontroller.php b/controller/usersettingscontroller.php
index db87276f8..88f3d07f4 100644
--- a/controller/usersettingscontroller.php
+++ b/controller/usersettingscontroller.php
@@ -44,7 +44,6 @@ class UserSettingsController extends Controller {
* @Ajax
*/
public function read(){
- $userId = $this->api->getUserId();
$showAll = $this->api->getUserValue('showAll');
$params = array(
'showAll' => $showAll === '1'
@@ -60,7 +59,6 @@ class UserSettingsController extends Controller {
* @Ajax
*/
public function show(){
- $userId = $this->api->getUserId();
$this->api->setUserValue('showAll', true);
return $this->renderJSON();
@@ -73,7 +71,6 @@ class UserSettingsController extends Controller {
* @Ajax
*/
public function hide(){
- $userId = $this->api->getUserId();
$this->api->setUserValue('showAll', false);
return $this->renderJSON();