original_string: protected function insecure_dataroot_warning($insecuredataroot) {
          global $CFG;
  
          if ($insecuredataroot == INSECURE_DATAROOT_WARNING) {
              return $this->warning(get_string('datarootsecuritywarning', 'admin', $CFG->dataroot));
  
          } else if ($insecuredataroot == INSECURE_DATAROOT_ERROR) {
              return $this->warning(get_string('datarootsecurityerror', 'admin', $CFG->dataroot), 'error');
  
          } else {
              return '';
          }
      }
code: protected function insecure_dataroot_warning($insecuredataroot) {
          global $CFG;
  
          if ($insecuredataroot == INSECURE_DATAROOT_WARNING) {
              return $this->warning(get_string('datarootsecuritywarning', 'admin', $CFG->dataroot));
  
          } else if ($insecuredataroot == INSECURE_DATAROOT_ERROR) {
              return $this->warning(get_string('datarootsecurityerror', 'admin', $CFG->dataroot), 'error');
  
          } else {
              return '';
          }
      }
code_tokens: protected function insecure_dataroot_warning ( $ insecuredataroot ) { global $ CFG ; if ( $ insecuredataroot == INSECURE_DATAROOT_WARNING ) { return $ this -> warning ( get_string ( 'datarootsecuritywarning' , 'admin' , $ CFG -> dataroot ) ) ; } else if ( $ insecuredataroot == INSECURE_DATAROOT_ERROR ) { return $ this -> warning ( get_string ( 'datarootsecurityerror' , 'admin' , $ CFG -> dataroot ) , 'error' ) ; } else { return '' ; } }
docstring: Render an appropriate message if dataroot is insecure.
  @param bool $insecuredataroot
  @return string HTML to output.
docstring_tokens: Render an appropriate message if dataroot is insecure .