Abstract index builder: remove extraneous functions.

Not used.
Missing global reference to $wpdb for creating update scripts.