OK I've found a solution for anyone wishing to remove this hack so that they can continue with versions 2.3.x onwards.
BY DOING THIS YOU WILL LOSE ALL OF YOUR ATTACHMENTS
Uninstall the hack using the install file.
Run this query...
Code:
DROP TABLE IF EXISTS attachment;
CREATE TABLE attachment (
attachmentid smallint(5) unsigned NOT NULL auto_increment,
userid int(10) unsigned NOT NULL,
dateline int(10) unsigned NOT NULL,
filename varchar(100) NOT NULL,
filedata mediumtext NOT NULL,
visible smallint(5) unsigned NOT NULL,
counter smallint(5) unsigned NOT NULL,
PRIMARY KEY (attachmentid)
);
You can now delete the folder with attachments as files inside.
You will lose
ALL attachments in your BB, do not blame me if what I tell you to do here messes anything in your site up - MAKE A BACKUP.
Over and out.