Hi.
Thanks for this module, I was glad when I found it, but it didn't work on my test Drupal 6.13 site - in particular, function cleantaxonomy_page() didn't call cleantaxonomy_process(). Then I tried rewrite this function (but first I rewrote all code of the module in accordance with coding standards), and now it's form with one submit button.
Also I added output message to the user, which contains count of deleted terms and list of them.

P.S. Before, I did not write modules for Drupal, so I'm sorry if I wrote something wrong.

Comments

quotesbro’s picture

StatusFileSize
new1.24 KB

changed taxonomy_term_count_nodes() to cleantaxonomy_term_count_nodes()
(removed 'WHERE n.status = 1')

in attachment new .module file

summit’s picture

This is great! Do not have time to go into this. But great initiative.
greetings,
Martijn

Dave Sandilands’s picture

Hi,

I've made a tiny amendment to the version in #1 (by Mikhail)

Changed message output on line 85
from

      $message = t('Database not contains empty terms.');

to

      $message = t('Database does not contain any empty terms.');
gaurav.kapoor’s picture

Issue summary: View changes

Thank you for your support. I will review the module for D6 and if it works fine , i'll add a stable release.

gaurav.kapoor’s picture

Status: Needs review » Closed (outdated)

I don't think we will need this code anymore.Thank You.Sorry.