Commit e327156b authored by KR Moorhouse's avatar KR Moorhouse

Removed unnecessary prepare method.

parent dce14436
......@@ -324,7 +324,7 @@ final class WPN_Helper
*/
public static function delete_nf_cache( $id ) {
global $wpdb;
$sql = $wpdb->prepare( "DELETE FROM `{$wpdb->prefix}nf3_upgrades` WHERE id = %d", intval( $id ) );
$sql = "DELETE FROM `{$wpdb->prefix}nf3_upgrades` WHERE id = " . intval( $id );
$wpdb->query( $sql );
delete_option( 'nf_form_' . intval( $id ) );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment