Ejemplo n.º 1
0
 /**
  * Reset self::$noreplyuser and self::$supportuser.
  * This is only used by phpunit, and there is no other use case for this function.
  * Please don't use it outside phpunit.
  */
 public static function reset_internal_users()
 {
     if (PHPUNIT_TEST) {
         self::$noreplyuser = false;
         self::$supportuser = false;
     } else {
         debugging('reset_internal_users() should not be used outside phpunit.', DEBUG_DEVELOPER);
     }
 }