aboutsummaryrefslogtreecommitdiffstats
path: root/mod/oexchange.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-21 22:11:02 -0700
committerfriendica <info@friendica.com>2012-10-21 22:11:02 -0700
commit8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616 (patch)
tree1941b7e5879c9d1e54cc45529f92e9b0a8a7a0c3 /mod/oexchange.php
parent87c171030c8de2e36f284fa6b58f11a5535a9a29 (diff)
downloadvolse-hubzilla-8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616.tar.gz
volse-hubzilla-8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616.tar.bz2
volse-hubzilla-8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616.zip
lotsa little fixes
Diffstat (limited to 'mod/oexchange.php')
-rw-r--r--mod/oexchange.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/mod/oexchange.php b/mod/oexchange.php
index bbb436e70..791a493ff 100644
--- a/mod/oexchange.php
+++ b/mod/oexchange.php
@@ -3,25 +3,22 @@
function oexchange_init(&$a) {
- if(($a->argc > 1) && ($a->argv[1] === 'xrd')) {
+ if((argc() > 1) && (argv(1) === 'xrd')) {
$tpl = get_markup_template('oexchange_xrd.tpl');
$o = replace_macros($tpl, array('$base' => $a->get_baseurl()));
echo $o;
killme();
}
-
-
}
function oexchange_content(&$a) {
if(! local_user()) {
- $o = login(false);
- return $o;
+ return login(false);
}
- if(($a->argc > 1) && $a->argv[1] === 'done') {
+ if((argc() > 1) && argv(1) === 'done') {
info( t('Post successful.') . EOL);
return;
}