add terms and categories, fix a delivery loop (stops at one cycle but we don't need a post coming back that we just sent out).

This commit is contained in:
friendica 2013-11-26 21:21:40 -08:00
parent 64b71a231b
commit fd57b63c1d

View File

@ -119,7 +119,7 @@ function post_to_red_delete_post($post_id) {
$post = get_post($post_id);
// if meta has been set
if (get_post_meta($post_id, "post_to_red", true) == '1') {
if ((get_post_meta($post_id, "post_to_red", true) == '1') || (get_post_meta($post_id, "post_from_red", true) == '1')) {
$user_name = post_to_red_get_acct_name();
$password = post_to_red_get_password();