diff --git a/helper/socialhub.utl.php b/helper/socialhub.utl.php index c19d235..a4984df 100644 --- a/helper/socialhub.utl.php +++ b/helper/socialhub.utl.php @@ -8,8 +8,6 @@ if(!function_exists("socialhub_send_message")) { function socialhub_send_message($provider, $adapter, $message, $options=array()) { - $object_id = false; - $response = false; $status = array( "message" => $message @@ -45,6 +43,8 @@ if(!function_exists("socialhub_send_message")) { set_error("Unknown provider"); show_errors(); } + + return $response; } }