From 57d46bcde3a473ea2d61f4f466d870e85d7b5eb4 Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Fri, 28 Jun 2013 13:14:49 -0300 Subject: [PATCH] Removed daily_cleanup.py script as per deprecation TL. --- django/bin/daily_cleanup.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 django/bin/daily_cleanup.py diff --git a/django/bin/daily_cleanup.py b/django/bin/daily_cleanup.py deleted file mode 100755 index 5a2ce210f4..0000000000 --- a/django/bin/daily_cleanup.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python - -""" -Daily cleanup job. - -Can be run as a cronjob to clean out old data from the database (only expired -sessions at the moment). -""" - -import warnings - -from django.core import management - -if __name__ == "__main__": - warnings.warn( - "The `daily_cleanup` script has been deprecated " - "in favor of `django-admin.py clearsessions`.", - DeprecationWarning) - management.call_command('clearsessions')