Moodle
  1. Moodle
  2. MDL-1467

RSS is dependent on backup for check_dir_exists()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Component/s: RSS
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_13_STABLE
    • Rank:
      13847

      Description

      check_dir_exists

        Activity

        Hide
        Martin Dougiamas added a comment -

        From Martin Dougiamas (martin at moodle.com) Wednesday, 26 May 2004, 10:14 PM:

        (Whoops, submitted before I was finished).

        check_dir_exists() should even be needed ... Eloy can you use this function instead?

        make_upload_directory() in moodlelib.php

        It has the advantage of doing the whole directory in one step. It also uses chown as a follow up which helps on some servers.

        From Eloy Lafuente (stronk7 at moodle.org) Wednesday, 26 May 2004, 11:46 PM:

        Opps,

        I never checked the CFG->disablescheduledbackups = true possibility, sorry!!

        I'll test this just now. Ciao

        From Eloy Lafuente (stronk7 at moodle.org) Thursday, 27 May 2004, 01:40 AM:

        Now in CVS. Removed backup/lib.php dependency.

        Perhaps some parts of the backup/restore processes can be modified to use the core make_upload_directory() function instead of the current check_dir_exists() one. Ok?

        Closing the bug in some hours....ciao

        Show
        Martin Dougiamas added a comment - From Martin Dougiamas (martin at moodle.com) Wednesday, 26 May 2004, 10:14 PM: (Whoops, submitted before I was finished). check_dir_exists() should even be needed ... Eloy can you use this function instead? make_upload_directory() in moodlelib.php It has the advantage of doing the whole directory in one step. It also uses chown as a follow up which helps on some servers. From Eloy Lafuente (stronk7 at moodle.org) Wednesday, 26 May 2004, 11:46 PM: Opps, I never checked the CFG->disablescheduledbackups = true possibility, sorry!! I'll test this just now. Ciao From Eloy Lafuente (stronk7 at moodle.org) Thursday, 27 May 2004, 01:40 AM: Now in CVS. Removed backup/lib.php dependency. Perhaps some parts of the backup/restore processes can be modified to use the core make_upload_directory() function instead of the current check_dir_exists() one. Ok? Closing the bug in some hours....ciao
        Hide
        Michael Blake added a comment -

        assign to a valid user

        Show
        Michael Blake added a comment - assign to a valid user

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: