From 74f9544ed40b4d6110846d87fec16ca4102fca13 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 28 Jan 2015 21:08:37 -0800 Subject: provide compatibility functions so code breakage with customised setups or work in progress should be minor --- boot.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'boot.php') 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. -- cgit v1.2.3