| Index: sitescripts/filterhits/web/common.py | 
| diff --git a/sitescripts/reports/bin/removeOldUsers.py b/sitescripts/filterhits/web/common.py | 
| similarity index 64% | 
| copy from sitescripts/reports/bin/removeOldUsers.py | 
| copy to sitescripts/filterhits/web/common.py | 
| index 56c915a243c269e8432334676becb8174d314735..aaa64f2dd489fa0bd7e01e7c1b3e0279b116e650 100644 | 
| --- a/sitescripts/reports/bin/removeOldUsers.py | 
| +++ b/sitescripts/filterhits/web/common.py | 
| @@ -15,16 +15,6 @@ | 
| # You should have received a copy of the GNU General Public License | 
| # along with Adblock Plus.  If not, see <http://www.gnu.org/licenses/>. | 
|  | 
| -from sitescripts.utils import setupStderr | 
| -from sitescripts.reports.utils import get_db, executeQuery | 
| - | 
| -def removeOldUsers(months=4): | 
| -  cursor = get_db().cursor() | 
| -  executeQuery(cursor, | 
| -         '''DELETE FROM #PFX#users WHERE ADDDATE(mtime, INTERVAL %s MONTH) < NOW()''', | 
| -         (months)) | 
| -  get_db().commit() | 
| - | 
| -if __name__ == '__main__': | 
| -  setupStderr() | 
| -  removeOldUsers() | 
| +def show_error(message, start_response, status="400 Processing Error"): | 
| +  start_response(status, [("Content-Type", "text/plain; charset=utf-8")]) | 
| +  return [message.encode("utf-8")] | 
|  |