aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-28 21:08:37 -0800
committerfriendica <info@friendica.com>2015-01-28 21:08:37 -0800
commit74f9544ed40b4d6110846d87fec16ca4102fca13 (patch)
tree1cbebc5dbd4a480133eac4a35731c18d0b4c5723
parente157371c39121db472cbc45b59ac89d847788648 (diff)
downloadvolse-hubzilla-74f9544ed40b4d6110846d87fec16ca4102fca13.tar.gz
volse-hubzilla-74f9544ed40b4d6110846d87fec16ca4102fca13.tar.bz2
volse-hubzilla-74f9544ed40b4d6110846d87fec16ca4102fca13.zip
provide compatibility functions so code breakage with customised setups or work in progress should be minor
-rwxr-xr-xboot.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index d972c68dc..96dee2c46 100755
--- a/boot.php
+++ b/boot.php
@@ -1610,6 +1610,12 @@ function local_channel() {
return false;
}
+function local_user() {
+ // DEPRECATED
+ return local_channel();
+}
+
+
/**
* @brief Returns contact id (visitor_id) of authenticated site visitor or false.
*
@@ -1622,6 +1628,12 @@ function remote_channel() {
return false;
}
+function remote_user() {
+ // DEPRECATED
+ return remote_channel();
+}
+
+
/**
* Contents of $s are displayed prominently on the page the next time
* a page is loaded. Usually used for errors or alerts.