get rid of get_app()

This commit is contained in:
zotlabs
2017-03-28 16:02:47 -07:00
parent d12b360e92
commit c5828fecc1
7 changed files with 3 additions and 30 deletions

View File

@@ -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)