File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ final class ContentTypesCountMetrics extends RepositoryConnectionAwareMetrics
1818{
1919    private  const  string  CONTENT_TYPE_TABLE  = ContentTypeGateway::CONTENT_TYPE_TABLE ;
2020    private  const  string  ID_COLUMN  = 'id ' ;
21-     private  const  string  VERSION_COLUMN  = 'version ' ;
21+     private  const  string  STATUS_COLUMN  = 'status ' ;
2222
2323    /** 
2424     * @throws \Doctrine\DBAL\Exception 
@@ -30,7 +30,7 @@ public function getValue(): int
3030            ->select ($ this getCountExpression (self ::ID_COLUMN ))
3131            ->from (self ::CONTENT_TYPE_TABLE )
3232            ->where (
33-                 $ queryBuilderexpr ()->eq (self ::VERSION_COLUMN , Type::STATUS_DEFINED )
33+                 $ queryBuilderexpr ()->eq (self ::STATUS_COLUMN , Type::STATUS_DEFINED )
3434            );
3535
3636        return  (int ) $ queryBuilderexecuteQuery ()->fetchFirstColumn ();
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments