Update socialhub.utl.php
This commit is contained in:
parent
f6047561cd
commit
e6e76ac940
|
@ -8,8 +8,6 @@
|
||||||
|
|
||||||
if(!function_exists("socialhub_send_message")) {
|
if(!function_exists("socialhub_send_message")) {
|
||||||
function socialhub_send_message($provider, $adapter, $message, $options=array()) {
|
function socialhub_send_message($provider, $adapter, $message, $options=array()) {
|
||||||
$object_id = false;
|
|
||||||
|
|
||||||
$response = false;
|
$response = false;
|
||||||
$status = array(
|
$status = array(
|
||||||
"message" => $message
|
"message" => $message
|
||||||
|
@ -45,6 +43,8 @@ if(!function_exists("socialhub_send_message")) {
|
||||||
set_error("Unknown provider");
|
set_error("Unknown provider");
|
||||||
show_errors();
|
show_errors();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $response;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user