public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/classes/dripfeed.php
/**
		 * Function that removes item by ID from the queue.
		 *
		 * @param Integer $unitID The ID of the unit whose queue items we need to delete.
		 */
Function that removes item by ID from the queue.
@param Integer $unitID The ID of the unit whose queue items we need to delete.
Function that removes item by ID from the queue . @param Integer $unitID The ID of the unit whose queue items we need to delete .
private static function updateQueueItems_removeItemsByUnit( $unitID ) {
			global $wpdb, $wpcwdb;
			$wpdb->show_errors();
			$wpdb->query( $wpdb->prepare( "
				DELETE
				FROM $wpcwdb->queue_dripfeed
				WHERE queue_unit_id = %d
				", $unitID ) );
		}
private static function updateQueueItems_removeItemsByUnit ( $ unitID ) { global $ wpdb , $ wpcwdb ; $ wpdb -> show_errors ( ) ; $ wpdb -> query ( $ wpdb -> prepare ( " 
				DELETE
				FROM  $ wpcwdb -> queue_dripfeed 
				WHERE queue_unit_id = %d
				 " , $ unitID ) ) ; }
Function that removes item by ID from the queue.
Function that removes item by ID from the queue .