public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/classes/dripfeed.php
/**
		 * Function called when a user has been removed from all courses, so remove
		 * all queue items associated with this user.
		 *
		 * @param Integer $userID The ID of the user that has been removed.
		 */
Function called when a user has been removed from all courses, so remove
all queue items associated with this user.

@param Integer $userID The ID of the user that has been removed.
Function called when a user has been removed from all courses so remove all queue items associated with this user . @param Integer $userID The ID of the user that has been removed .
public static function updateQueueItems_removeUser_fromAllCourses( $userID ) {
			global $wpdb, $wpcwdb;
			$wpdb->show_errors();
			$wpdb->query( $wpdb->prepare( "
				DELETE
				FROM $wpcwdb->queue_dripfeed
				WHERE queue_user_id = %d
				", $userID ) );
		}
public static function updateQueueItems_removeUser_fromAllCourses ( $ userID ) { global $ wpdb , $ wpcwdb ; $ wpdb -> show_errors ( ) ; $ wpdb -> query ( $ wpdb -> prepare ( " 
				DELETE
				FROM  $ wpcwdb -> queue_dripfeed 
				WHERE queue_user_id = %d
				 " , $ userID ) ) ; }
Function called when a user has been removed from all courses, so remove
 all queue items associated with this user.
Function called when a user has been removed from all courses so remove all queue items associated with this user .