summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/facebookhome.php5
-rw-r--r--lib/facebookaction.php5
2 files changed, 6 insertions, 4 deletions
diff --git a/actions/facebookhome.php b/actions/facebookhome.php
index ea56ec071..b05e51b91 100644
--- a/actions/facebookhome.php
+++ b/actions/facebookhome.php
@@ -91,6 +91,9 @@ class FacebookhomeAction extends FacebookAction
function login()
{
+
+ $this->showStylesheets();
+
$nickname = common_canonical_nickname($this->trimmed('nickname'));
$password = $this->arg('password');
@@ -185,6 +188,8 @@ class FacebookhomeAction extends FacebookAction
function getUpdatePermission() {
+ $this->showStylesheets();
+
$this->elementStart('div', array('class' => 'content'));
$instructions = sprintf(_('If you would like the %s app to automatically update ' .
diff --git a/lib/facebookaction.php b/lib/facebookaction.php
index 528b58154..a20e618d3 100644
--- a/lib/facebookaction.php
+++ b/lib/facebookaction.php
@@ -73,9 +73,7 @@ class FacebookAction extends Action
function prepare($argarray)
{
parent::prepare($argarray);
-
- common_debug("Facebookaction::prepare");
-
+
$this->facebook = getFacebook();
$this->fbuid = $this->facebook->require_login();
@@ -261,7 +259,6 @@ class FacebookAction extends Action
function showInstructions()
{
- global $xw;
$this->elementStart('dl', array('class' => 'system_notice'));
$this->element('dt', null, 'Page Notice');