original_string: public static function enableMaintenanceMode()
      {
          $config = Config::getInstance();
  
          $tracker = $config->Tracker;
          $tracker['record_statistics'] = 0;
          $config->Tracker = $tracker;
  
          $general = $config->General;
          $general['maintenance_mode'] = 1;
          $config->General = $general;
  
          $config->forceSave();
      }
code: public static function enableMaintenanceMode()
      {
          $config = Config::getInstance();
  
          $tracker = $config->Tracker;
          $tracker['record_statistics'] = 0;
          $config->Tracker = $tracker;
  
          $general = $config->General;
          $general['maintenance_mode'] = 1;
          $config->General = $general;
  
          $config->forceSave();
      }
code_tokens: public static function enableMaintenanceMode ( ) { $ config = Config :: getInstance ( ) ; $ tracker = $ config -> Tracker ; $ tracker [ 'record_statistics' ] = 0 ; $ config -> Tracker = $ tracker ; $ general = $ config -> General ; $ general [ 'maintenance_mode' ] = 1 ; $ config -> General = $ general ; $ config -> forceSave ( ) ; }
docstring: Enables maintenance mode. Should be used for updates where Piwik will be unavailable
  for a large amount of time.
docstring_tokens: Enables maintenance mode . Should be used for updates where Piwik will be unavailable for a large amount of time .