← Back to team overview

mahara-contributors team mailing list archive

[Bug 1500774] A change has been merged

 

Reviewed:  https://reviews.mahara.org/5596
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/d1b6145f31caee8ca33ea408791e42e7b2094d18
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch:    15.10_STABLE

commit d1b6145f31caee8ca33ea408791e42e7b2094d18
Author: Manuel Gogl <manuel.gogl@xxxxxxxxxxx>
Date:   Wed Sep 30 08:37:29 2015 +1300

Bug 1500774: Use correct path for deleting old sessions

behatnotneeded: dealing with deletign files from dataroot

Change-Id: I0c6f2ef1b04b8ac4beef2daef2459b619db9a9ed
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
(cherry picked from commit 4deca62129f7d6c0f2a8f57aa5e63b95e0848d29)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1500774

Title:
  remove old session files doesn't work with adapted sessionpath

Status in Mahara:
  Fix Committed
Status in Mahara 1.10 series:
  Fix Committed
Status in Mahara 1.9 series:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Committed
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  auth/lib.php is using 
  $basedir = get_config('dataroot') . 'sessions/'; 
  for trying to remove the old session files.

  If there is a different session path set, mahara does not notice this
  adaptation.

  Following modification is fixing the problem:

  auth/lib.php:
  function auth_remove_old_session_files() {
      $basedir = get_config('sessionpath');

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1500774/+subscriptions


References