From a5b158e0efcb0517b09183f5d1874e85b3dc6637 Mon Sep 17 00:00:00 2001 From: Lem Smyth Date: Mon, 14 Feb 2022 12:17:02 -0600 Subject: [PATCH] cleanup --- classes/LBRY_Network.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/classes/LBRY_Network.php b/classes/LBRY_Network.php index f615df8..4dab3b0 100644 --- a/classes/LBRY_Network.php +++ b/classes/LBRY_Network.php @@ -111,23 +111,6 @@ class LBRY_Network // Publish the post on the LBRY Network $this->publisher->publish( $post, $channel, $license ); } - $default_value = get_option( LBRY_SETTINGS )['lbry_default_publish_setting']; - $new_value = get_post_meta( $post_id, '_lbry_will_publish', true ); - if ( ( $new_value ) ? $new_value : $new_value = $default_value ); - $value = $new_value; - if ( ( $value ) ? $value : 0 ); - - // nonce set on page meta-box.php - printf ( - '
- -
', - plugin_dir_url( LBRY_PLUGIN_FILE ) . 'admin/images/lbry.png', - 'Publish to', - 'LBRY', - 'lbrypress', - checked( $value, true, false ) - ); } /**