summaryrefslogtreecommitdiff
path: root/actions/facebookinvite.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/facebookinvite.php')
-rw-r--r--actions/facebookinvite.php31
1 files changed, 17 insertions, 14 deletions
diff --git a/actions/facebookinvite.php b/actions/facebookinvite.php
index 68b351fb9..00efa654b 100644
--- a/actions/facebookinvite.php
+++ b/actions/facebookinvite.php
@@ -10,37 +10,40 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/facebookaction.php');
-class FacebookinviteAction extends FacebookAction {
+class FacebookinviteAction extends FacebookAction
+{
- function handle($args) {
- parent::handle($args);
+ function handle($args)
+ {
+ parent::handle($args);
- $this->display();
- }
+ $this->display();
+ }
- function display() {
+ function display()
+ {
- $facebook = $this->get_facebook();
+ $facebook = get_facebook();
- $fbuid = $facebook->require_login();
+ $fbuid = $facebook->require_login();
- $this->show_header('Invite');
+ $this->show_header('Invite');
- echo '<h2>Coming soon...</h2>';
+ echo '<h2>Coming soon...</h2>';
- $this->show_footer();
+ $this->show_footer();
- }
+ }
}