summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2013-06-28 13:14:49 -0300
committerRamiro Morales <cramm0@gmail.com>2013-06-28 21:48:16 -0300
commit57d46bcde3a473ea2d61f4f466d870e85d7b5eb4 (patch)
tree3c498567f9c6e607a5c847d5f97c7802565c6121
parentf02a703ca6867806fbef71dd8d64d9a19975fe6c (diff)
Removed daily_cleanup.py script as per deprecation TL.
-rwxr-xr-xdjango/bin/daily_cleanup.py19
1 files changed, 0 insertions, 19 deletions
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')