https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15504

--- Comment #188 from Andrii Nugged <[email protected]> ---
btw, that atomic update quoting is very inconsistent:

        my ($tracklastactivity) = $dbh->selectrow_array(
            q|
            SELECT value FROM systempreferences WHERE
variable='TrackLastPatronActivity';
        |
        );

vs

        $dbh->do(
            qq{INSERT IGNORE INTO systempreferences
(variable,value,options,explanation,type) VALUES
('TrackLastPatronActivityTriggers',?,NULL,'If set, the field borrowers.lastseen
will be updated every time a patron performs a selected action','multiple') },
            undef, $triggers,
        );

vs

        $dbh->do(
            q{
            DELETE FROM systempreferences WHERE
variable='TrackLastPatronActivity'
        }
        );

why so?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to