aboutsummaryrefslogtreecommitdiffstats
path: root/include/message.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-28 16:02:47 -0700
committerMario Vavti <mario@mariovavti.com>2017-03-31 10:30:17 +0200
commitc20aa6062c38d81d19d53bad3a65f78e95b126c9 (patch)
tree352ed5b86c4167d1a64bb8c834005c94b450b456 /include/message.php
parentb2a51db14e61e3f742b4a0e11bcb22e5c6e12800 (diff)
downloadvolse-hubzilla-c20aa6062c38d81d19d53bad3a65f78e95b126c9.tar.gz
volse-hubzilla-c20aa6062c38d81d19d53bad3a65f78e95b126c9.tar.bz2
volse-hubzilla-c20aa6062c38d81d19d53bad3a65f78e95b126c9.zip
get rid of get_app()
Diffstat (limited to 'include/message.php')
-rw-r--r--include/message.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/message.php b/include/message.php
index bde07afd8..da3514184 100644
--- a/include/message.php
+++ b/include/message.php
@@ -13,10 +13,8 @@ function send_message($uid = 0, $recipient = '', $body = '', $subject = '', $rep
$ret = array('success' => false);
$is_reply = false;
- $a = get_app();
$observer_hash = get_observer_hash();
-
if($uid) {
$r = q("select * from channel where channel_id = %d limit 1",
intval($uid)