Comment 6 for bug 1644649

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

Reviewed: https://reviews.mahara.org/7302
Committed: https://git.mahara.org/mahara/mahara/commit/ce93c15df8b63bb3176440829e83c753f92a2188
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.10_STABLE

commit ce93c15df8b63bb3176440829e83c753f92a2188
Author: Robert Lyon <email address hidden>
Date: Fri Nov 25 11:19:36 2016 +1300

Bug 1644649: Fixing bad secret url checking sql queries

The sql queries were missing the COUNT() parameter, but it turns out
we should just use record_exists_select in this case as we don't care
how many exist but if they do or not.

behatnotneeded

Change-Id: Ice7cbb619701e32fd11030cd7f69e9fba0609a34
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit b517ee2c00b2ea1029eb582bd6830708a78c226b)