original_string: public static function kill_all_sessions() {
          global $DB;
  
          self::terminate_current();
  
          self::load_handler();
          self::$handler->kill_all_sessions();
  
          try {
              $DB->delete_records('sessions');
          } catch (\dml_exception $ignored) {
              // Do not show any warnings - might be during upgrade/installation.
          }
      }
code: public static function kill_all_sessions() {
          global $DB;
  
          self::terminate_current();
  
          self::load_handler();
          self::$handler->kill_all_sessions();
  
          try {
              $DB->delete_records('sessions');
          } catch (\dml_exception $ignored) {
              // Do not show any warnings - might be during upgrade/installation.
          }
      }
code_tokens: public static function kill_all_sessions ( ) { global $ DB ; self :: terminate_current ( ) ; self :: load_handler ( ) ; self :: $ handler -> kill_all_sessions ( ) ; try { $ DB -> delete_records ( 'sessions' ) ; } catch ( \ dml_exception $ ignored ) { // Do not show any warnings - might be during upgrade/installation. } }
docstring: Terminate all sessions unconditionally.
docstring_tokens: Terminate all sessions unconditionally .