Comment 5 for bug 1369370

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/3696
Committed: http://gitorious.org/mahara/mahara/commit/8f371b7d4823767410f96e87ccf329f596d80600
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 8f371b7d4823767410f96e87ccf329f596d80600
Author: Ghada El-Zoghbi <email address hidden>
Date: Mon Sep 15 12:07:27 2014 +1000

Clean expired passwords causes error when upgrading (bug 1369370)

When upgrading, should only check if the cron job 'auth_clean_expired_password_requests' already exists
in the table - without all the other fields that need to be updated.
Otherwise, it will check on all the fields (i.e. minute, hour, etc). If the admin updated them,
the check won't match and a duplicate error results.

Change-Id: I2d30ac97e9a82aaf0d538a834396fdc2d2757480
Signed-off-by: Ghada El-Zoghbi <email address hidden>