From a9e68c0fbacd3b55a7fa0d3c4badbc07da23fc46 Mon Sep 17 00:00:00 2001 From: connor Date: Thu, 4 Apr 2024 14:35:40 +0200 Subject: [PATCH] allow to can 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; }