From 90ab6ee6123f2b378a068988526b409854ddec77 Mon Sep 17 00:00:00 2001
From: Claude Paroz <claude@2xlibre.net>
Date: Sat, 28 Feb 2015 12:11:27 +0100
Subject: [PATCH] Revert "Fixed #24369 -- Prevented crash when `flush`ing
 before db migration"

This reverts commit 9f1dbe29c0dbae57ff7950f3f64a0d083177cca8.
The proposed solution does not pass the test suite.
---
 django/core/management/commands/flush.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/django/core/management/commands/flush.py b/django/core/management/commands/flush.py
index eceb873c51..97c94501c4 100644
--- a/django/core/management/commands/flush.py
+++ b/django/core/management/commands/flush.py
@@ -46,10 +46,6 @@ class Command(BaseCommand):
         sql_list = sql_flush(self.style, connection, only_django=True,
                              reset_sequences=reset_sequences,
                              allow_cascade=allow_cascade)
-        if not sql_list:
-            raise CommandError(
-                "No commands to proceed with, maybe the database is still empty?"
-            )
 
         if interactive:
             confirm = input("""You have requested a flush of the database.