diff --git a/NPLib/ressources/DetectorSkeleton/NPLib/TDETECTORNAMEPhysics.cxx b/NPLib/ressources/DetectorSkeleton/NPLib/TDETECTORNAMEPhysics.cxx
index 8ee5c4a669d28f3f0cb03b3898f01d257e8a9f49..112ff990f56571cf28dad73542bc521324464f75 100644
--- a/NPLib/ressources/DetectorSkeleton/NPLib/TDETECTORNAMEPhysics.cxx
+++ b/NPLib/ressources/DetectorSkeleton/NPLib/TDETECTORNAMEPhysics.cxx
@@ -153,14 +153,6 @@ void TDETECTORNAMEPhysics::ReadAnalysisConfig() {
         AnalysisConfigFile.ignore(numeric_limits<streamsize>::max(), '\n' );
       }
 
-      if (whatToDo== "DISABLE_DETECTOR") {
-        AnalysisConfigFile >> DataBuffer;
-        cout << whatToDo << "  " << DataBuffer << endl;
-        int Detector = atoi(DataBuffer.substr(2,1).c_str());
-        vector< bool > ChannelStatus;
-        ChannelStatus[Detector]=false;
-      }
-
       else if (whatToDo=="E_RAW_THRESHOLD") {
         AnalysisConfigFile >> DataBuffer;
         m_E_RAW_Threshold = atof(DataBuffer.c_str());