From a48ed195126ad3f706e93b18bd9478dae3c1afcc Mon Sep 17 00:00:00 2001 From: connor Date: Thu, 4 Apr 2024 14:35:40 +0200 Subject: [PATCH] allow to call symfony command from anywhere --- lib/task/sfBaseTask.class.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/task/sfBaseTask.class.php b/lib/task/sfBaseTask.class.php index f15f7c2b7..95448806a 100644 --- a/lib/task/sfBaseTask.class.php +++ b/lib/task/sfBaseTask.class.php @@ -56,10 +56,6 @@ public function getFilesystem() */ public function checkProjectExists() { - if (!file_exists('symfony')) { - throw new sfException('You must be in a symfony project directory.'); - } - return true; }