original_string: protected function _getOrgTo($monitorName)
      {
          switch ($monitorName) {
              case 'maintenancemode':
                  $where = "1 = 0";
                  break;
  
              case 'cronmail':
              default:
                  $where = 'gor_mail_watcher = 1';
                  break;
          }
          
          $orgTo = $this->db->fetchCol(
                  "SELECT DISTINCT gor_contact_email FROM gems__organizations WHERE LENGTH(gor_contact_email) > 5 AND gor_active = 1 AND $where"
                  );
          return $orgTo;        
      }
code: protected function _getOrgTo($monitorName)
      {
          switch ($monitorName) {
              case 'maintenancemode':
                  $where = "1 = 0";
                  break;
  
              case 'cronmail':
              default:
                  $where = 'gor_mail_watcher = 1';
                  break;
          }
          
          $orgTo = $this->db->fetchCol(
                  "SELECT DISTINCT gor_contact_email FROM gems__organizations WHERE LENGTH(gor_contact_email) > 5 AND gor_active = 1 AND $where"
                  );
          return $orgTo;        
      }
code_tokens: protected function _getOrgTo ( $ monitorName ) { switch ( $ monitorName ) { case 'maintenancemode' : $ where = "1 = 0" ; break ; case 'cronmail' : default : $ where = 'gor_mail_watcher = 1' ; break ; } $ orgTo = $ this -> db -> fetchCol ( "SELECT DISTINCT gor_contact_email FROM gems__organizations WHERE LENGTH(gor_contact_email) > 5 AND gor_active = 1 AND $where" ) ; return $ orgTo ; }
docstring: Return an array of organization recipients for the given monitorName
  
  @param string $monitorName
  @return array
docstring_tokens: Return an array of organization recipients for the given monitorName