Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-7835

emailstop in User Upload

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.9
    • Component/s: Administration
    • Labels:
      None
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Is there any reason why emailstop isn't enabled in uploaduser.php? It'd be a useful thing for people to upload users which disabled email accounts.

      This would do it, I think:

      — uploaduser.php.old 2006-12-07 16:28:35.000000000 +0000
      +++ uploaduser.php 2006-12-07 16:29:12.000000000 +0000
      @@ -123,7 +123,8 @@
      "role4" => 1,
      "role5" => 1,
      "password" => $createpassword,

      • "oldusername" => $allowrenames);
        + "oldusername" => $allowrenames,
        + "emailstop" => 1 );

      // — get header (field names) —
      $header = split($csv_delimiter, fgets($fp,1024));

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              poltawski Dan Poltawski
              Reporter:
              poltawski Dan Poltawski
              Participants:
              Component watchers:
              Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08